Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002086/0.003417, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00163/0.002786, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8994/0.8994, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1461/1.046, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.439e-05, allocations: 6.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.009192/0.009216, allocations: 8.721 MB / 230.7 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004509/0.01373, allocations: 2.976 MB / 233.7 MB, free: 4.289 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009028/0.01463, allocations: 47.62 kB / 233.7 MB, free: 4.242 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.01586, allocations: 0.6171 MB / 234.4 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.01771, allocations: 0.7916 MB / 235.2 MB, free: 2.824 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.01832, allocations: 335.4 kB / 235.5 MB, free: 2.496 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.02061, allocations: 2.497 MB / 238 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.02171, allocations: 0.9884 MB / 239 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.02422, allocations: 1.899 MB / 240.9 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.02581, allocations: 1.22 MB / 242.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005321/0.02635, allocations: 272 kB / 242.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007111/0.02706, allocations: 363.8 kB / 242.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005357/0.02759, allocations: 0.6702 MB / 243.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000883/0.02848, allocations: 0.7058 MB / 244.1 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.0304, allocations: 1.869 MB / 246 MB, free: 7.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.03041, allocations: 0 / 246 MB, free: 7.926 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.03042, allocations: 0 / 246 MB, free: 7.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.167e-05/0.03051, allocations: 4 kB / 246 MB, free: 7.922 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003307/0.03382, allocations: 2.796 MB / 248.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.03385, allocations: 8.031 kB / 248.8 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/0.03443, allocations: 417.7 kB / 249.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.03552, allocations: 0.8576 MB / 250 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.03559, allocations: 139.9 kB / 250.2 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.03577, allocations: 192.3 kB / 250.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.03717, allocations: 1.383 MB / 251.7 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.03721, allocations: 11.83 kB / 251.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/0.03731, allocations: 75.98 kB / 251.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/0.03737, allocations: 87.48 kB / 251.9 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.03809, allocations: 0.5305 MB / 252.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.04296, allocations: 4.783 MB / 257.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.04359, allocations: 0.5357 MB / 257.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.04412, allocations: 430.5 kB / 258.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.04424, allocations: 40.98 kB / 258.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.04427, allocations: 39.56 kB / 258.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.454e-06/0.04428, allocations: 0 / 258.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003775/0.04805, allocations: 2.249 MB / 260.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.04808, allocations: 64.41 kB / 260.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.04873, allocations: 0.8749 MB / 261.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.04878, allocations: 45.7 kB / 261.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.0491, allocations: 0.7637 MB / 262.2 MB, free: 7.156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.04928, allocations: 368.8 kB / 262.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.04949, allocations: 202.8 kB / 262.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.04957, allocations: 357.8 kB / 263.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.04976, allocations: 141.4 kB / 263.3 MB, free: 6.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.05005, allocations: 424.3 kB / 263.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.05064, allocations: 0.7365 MB / 264.4 MB, free: 4.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.05064, allocations: 0 / 264.4 MB, free: 4.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001169/0.05181, allocations: 0.9393 MB / 265.4 MB, free: 3.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.05183, allocations: 8 kB / 265.4 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.05184, allocations: 8 kB / 265.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009175/0.05276, allocations: 491.8 kB / 265.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.05327, allocations: 259.6 kB / 266.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.0566, allocations: 4.145 MB / 270.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.05711, allocations: 44.11 kB / 270.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.05716, allocations: 39.98 kB / 270.4 MB, free: 14.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003695/0.05753, allocations: 184.4 kB / 270.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.0577, allocations: 111.9 kB / 270.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009331/0.05864, allocations: 0.7467 MB / 271.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.05864, allocations: 15.98 kB / 271.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.05865, allocations: 4 kB / 271.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.05866, allocations: 3.984 kB / 271.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.06092, allocations: 1.849 MB / 273.3 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.06093, allocations: 4.219 kB / 273.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.06137, allocations: 191.7 kB / 273.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.06163, allocations: 179 kB / 273.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000573/0.0622, allocations: 291.1 kB / 273.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.06225, allocations: 31.97 kB / 273.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.0646, allocations: 4.376 MB / 278.3 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.0646, allocations: 4 kB / 278.3 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.06574, allocations: 1.07 MB / 279.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.06585, allocations: 24 kB / 279.4 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.06615, allocations: 35.98 kB / 279.5 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.06627, allocations: 80.78 kB / 279.5 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.06631, allocations: 23.98 kB / 279.6 MB, free: 4.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003487/0.06666, allocations: 452.5 kB / 280 MB, free: 4.465 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06666, allocations: 0 / 280 MB, free: 4.465 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009185/0.06758, allocations: 423.9 kB / 280.4 MB, free: 4.051 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002452/0.06782, allocations: 160.1 kB / 280.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.06891, allocations: 1.014 MB / 281.6 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.29e-05/0.06895, allocations: 23.12 kB / 281.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.06965, allocations: 0.8008 MB / 282.4 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08664/0.1563, allocations: 3.137 MB / 285.5 MB, free: 47.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.1707, allocations: 3.297 MB / 288.8 MB, free: 46.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/0.1714, allocations: 468.9 kB / 289.3 MB, free: 46.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007144/0.1721, allocations: 162.7 kB / 289.5 MB, free: 46.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/0.1728, allocations: 340.6 kB / 289.8 MB, free: 46.02 MB / 282.7 MB Notification: Performance of SimCode: time 2.084e-06/0.1728, allocations: 0.7656 kB / 289.8 MB, free: 46.02 MB / 282.7 MB Notification: Performance of Templates: time 0.03081/0.2036, allocations: 24.37 MB / 314.2 MB, free: 31.76 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.104650255292654]