Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001546/0.001546, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001795/0.001795, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.115/2.115, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3443, allocations: 53.38 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.03076/0.375, allocations: 18.59 MB / 451 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.3929, allocations: 6.504 MB / 457.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00465/0.3975, allocations: 175.1 kB / 457.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02098/0.4185, allocations: 6.385 MB / 464 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01886/0.4374, allocations: 2.821 MB / 466.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01579/0.4532, allocations: 1.558 MB / 468.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01697/0.4701, allocations: 9.178 MB / 477.6 MB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02406/0.4942, allocations: 11.06 MB / 488.7 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.5053, allocations: 4.785 MB / 493.4 MB, free: 9.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.517, allocations: 5.233 MB / 498.7 MB, free: 4.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005097/0.5221, allocations: 1.352 MB / 0.4883 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006633/0.5287, allocations: 1.687 MB / 0.49 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00557/0.5343, allocations: 2.63 MB / 0.4925 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009182/0.5434, allocations: 3.841 MB / 0.4963 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02912/0.5726, allocations: 18.33 MB / 0.5142 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5726, allocations: 0 / 0.5142 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5726, allocations: 4 kB / 0.5142 GB, free: 8.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000438/0.573, allocations: 0 / 0.5142 GB, free: 8.199 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.04172/0.6147, allocations: 10.66 MB / 0.5246 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.6148, allocations: 8.031 kB / 0.5246 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0548/0.6696, allocations: 5.899 MB / 0.5303 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03945/0.709, allocations: 5.78 MB / 0.536 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008102/0.7098, allocations: 0.554 MB / 0.5365 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003658/0.7135, allocations: 0.7343 MB / 0.5372 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3136/1.027, allocations: 13.03 MB / 0.55 GB, free: 87.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003011/1.027, allocations: 10.22 kB / 0.55 GB, free: 87.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002368/1.03, allocations: 313.2 kB / 0.5503 GB, free: 87.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000643/1.03, allocations: 496 kB / 0.5508 GB, free: 87.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03662/1.067, allocations: 12.55 MB / 0.563 GB, free: 77.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09762/1.165, allocations: 35.98 MB / 0.5981 GB, free: 41.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02304/1.188, allocations: 8.512 MB / 0.6065 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00728/1.195, allocations: 2.917 MB / 0.6093 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/1.196, allocations: 91.14 kB / 0.6094 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.176e-05/1.196, allocations: 81.72 kB / 0.6095 GB, free: 30.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 1.557e-05/1.196, allocations: 0 / 0.6095 GB, free: 30.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.06072/1.256, allocations: 16.74 MB / 0.6258 GB, free: 13.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/1.256, allocations: 98.61 kB / 0.6259 GB, free: 13.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006607/1.263, allocations: 2.697 MB / 0.6286 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008905/1.264, allocations: 89.7 kB / 0.6286 GB, free: 11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002197/1.266, allocations: 3.147 MB / 0.6317 GB, free: 7.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002005/1.268, allocations: 1.466 MB / 0.6331 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003446/1.272, allocations: 0.9622 MB / 0.6341 GB, free: 5.422 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.472e-05/1.272, allocations: 305.1 kB / 0.6344 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006437/1.278, allocations: 2.505 MB / 0.6368 GB, free: 2.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008754/1.287, allocations: 4.13 MB / 0.6409 GB, free: 13.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01934/1.306, allocations: 7.195 MB / 0.6479 GB, free: 5.832 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.833e-05/1.306, allocations: 12 kB / 0.6479 GB, free: 5.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.02747/1.334, allocations: 7.975 MB / 0.6557 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/1.334, allocations: 30.03 kB / 0.6557 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/1.334, allocations: 52.03 kB / 0.6558 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006285/1.34, allocations: 1.198 MB / 0.6569 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007922/1.348, allocations: 1.131 MB / 0.658 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/1.372, allocations: 10.66 MB / 0.6684 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00577/1.378, allocations: 271.7 kB / 0.6687 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.379, allocations: 236 kB / 0.6689 GB, free: 52 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00864/1.388, allocations: 2.959 MB / 0.6718 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001451/1.39, allocations: 349.8 kB / 0.6721 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02316/1.413, allocations: 6.625 MB / 0.6786 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.679e-05/1.413, allocations: 44 kB / 0.6787 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/1.413, allocations: 12 kB / 0.6787 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/1.413, allocations: 23.91 kB / 0.6787 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0471/1.46, allocations: 13.08 MB / 0.6915 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/1.46, allocations: 8 kB / 0.6915 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005197/1.465, allocations: 0.7488 MB / 0.6922 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004846/1.47, allocations: 1.086 MB / 0.6933 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008694/1.471, allocations: 104 kB / 0.6934 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/1.493, allocations: 9.605 MB / 0.7028 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.578e-05/1.493, allocations: 7.938 kB / 0.7028 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03212/1.525, allocations: 9.954 MB / 0.7125 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004977/1.53, allocations: 0.8606 MB / 0.7133 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001548/1.531, allocations: 84 kB / 0.7134 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004618/1.536, allocations: 199.8 kB / 0.7136 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/1.538, allocations: 319 kB / 0.7139 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005302/1.538, allocations: 132 kB / 0.714 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005519/1.544, allocations: 1.786 MB / 0.7158 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/1.544, allocations: 0 / 0.7158 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009761/1.553, allocations: 1.383 MB / 0.7171 GB, free: 14.26 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/1.555, allocations: 277.9 kB / 0.7174 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.03856/1.593, allocations: 6.469 MB / 0.7237 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.111e-05/1.593, allocations: 4 kB / 0.7237 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.02017/1.613, allocations: 3.298 MB / 0.7269 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006502/1.62, allocations: 0.7426 MB / 0.7276 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03834/1.658, allocations: 14.21 MB / 0.7415 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009825/1.668, allocations: 4.608 MB / 0.746 GB, free: 460 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.3148/1.983, allocations: 1.587 MB / 0.7476 GB, free: 181 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/1.984, allocations: 320.7 kB / 0.7479 GB, free: 181 MB / 0.545 GB Notification: Performance of SimCode: time 1.332e-06/1.984, allocations: 0 / 0.7479 GB, free: 181 MB / 0.545 GB Notification: Performance of Templates: time 0.1478/2.132, allocations: 65.03 MB / 0.8114 GB, free: 136.4 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.720855659004883]