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.001574/0.001574, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001759/0.001759, allocations: 210 kB / 24.48 MB, free: 3.938 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 1.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001746/0.001746, allocations: 43.94 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2968, allocations: 53.36 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02437/0.3212, allocations: 18.62 MB / 451 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.3363, allocations: 6.501 MB / 457.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004496/0.3408, allocations: 171.2 kB / 457.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01713/0.3579, allocations: 6.385 MB / 464 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.368, allocations: 2.802 MB / 466.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.3731, allocations: 1.553 MB / 468.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0135/0.3866, allocations: 9.174 MB / 477.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02884/0.4155, allocations: 10.9 MB / 488.5 MB, free: 14.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/0.4271, allocations: 4.785 MB / 493.3 MB, free: 9.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.4404, allocations: 4.975 MB / 498.2 MB, free: 4.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004449/0.4448, allocations: 1.352 MB / 499.6 MB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005612/0.4504, allocations: 1.675 MB / 0.4895 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004757/0.4552, allocations: 2.627 MB / 0.4921 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009939/0.4651, allocations: 3.845 MB / 0.4958 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0292/0.4943, allocations: 18.31 MB / 0.5137 GB, free: 8.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4943, allocations: 0 / 0.5137 GB, free: 8.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4943, allocations: 4 kB / 0.5137 GB, free: 8.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004782/0.4948, allocations: 0 / 0.5137 GB, free: 8.672 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.03498/0.5298, allocations: 10.66 MB / 0.5241 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5298, allocations: 8.031 kB / 0.5241 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03487/0.5647, allocations: 5.907 MB / 0.5299 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.5795, allocations: 5.772 MB / 0.5355 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007788/0.5803, allocations: 0.554 MB / 0.5361 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004774/0.5851, allocations: 0.7381 MB / 0.5368 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4659/1.051, allocations: 13.03 MB / 0.5495 GB, free: 85.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002163/1.051, allocations: 14.66 kB / 0.5495 GB, free: 85.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/1.052, allocations: 312.2 kB / 0.5498 GB, free: 85.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003415/1.053, allocations: 494.6 kB / 0.5503 GB, free: 85.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/1.073, allocations: 12.56 MB / 0.5626 GB, free: 75.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05887/1.132, allocations: 35.98 MB / 0.5977 GB, free: 39.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/1.145, allocations: 8.509 MB / 0.606 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004691/1.15, allocations: 2.918 MB / 0.6089 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004368/1.15, allocations: 99.08 kB / 0.609 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.265e-05/1.15, allocations: 77.78 kB / 0.609 GB, free: 29.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 7.244e-06/1.15, allocations: 0 / 0.609 GB, free: 29.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03717/1.188, allocations: 16.74 MB / 0.6254 GB, free: 12.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/1.188, allocations: 94.67 kB / 0.6255 GB, free: 12.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004256/1.192, allocations: 2.696 MB / 0.6281 GB, free: 10.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005922/1.193, allocations: 97.64 kB / 0.6282 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/1.194, allocations: 3.154 MB / 0.6313 GB, free: 6.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00144/1.195, allocations: 1.466 MB / 0.6327 GB, free: 5.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/1.198, allocations: 0.9543 MB / 0.6336 GB, free: 4.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.929e-05/1.198, allocations: 309.1 kB / 0.6339 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/1.201, allocations: 2.501 MB / 0.6364 GB, free: 1.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005408/1.206, allocations: 4.14 MB / 0.6404 GB, free: 12.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/1.219, allocations: 7.191 MB / 0.6474 GB, free: 4.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.719e-05/1.219, allocations: 16 kB / 0.6475 GB, free: 4.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01807/1.237, allocations: 7.972 MB / 0.6552 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/1.237, allocations: 24 kB / 0.6553 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/1.237, allocations: 52 kB / 0.6553 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003783/1.241, allocations: 1.191 MB / 0.6565 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004891/1.246, allocations: 1.131 MB / 0.6576 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/1.264, allocations: 10.66 MB / 0.668 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/1.268, allocations: 275.8 kB / 0.6683 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.269, allocations: 236 kB / 0.6685 GB, free: 15.19 MB / 494.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.006553/1.276, allocations: 2.952 MB / 0.6714 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/1.277, allocations: 345.8 kB / 0.6717 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/1.293, allocations: 6.633 MB / 0.6782 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.628e-05/1.293, allocations: 44 kB / 0.6782 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.025e-05/1.293, allocations: 8 kB / 0.6782 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-05/1.293, allocations: 23.91 kB / 0.6782 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03267/1.326, allocations: 13.08 MB / 0.691 GB, free: 8.016 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-05/1.326, allocations: 4 kB / 0.691 GB, free: 8.012 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003646/1.33, allocations: 0.7606 MB / 0.6918 GB, free: 7.25 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/1.333, allocations: 1.089 MB / 0.6928 GB, free: 6.152 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008793/1.334, allocations: 99.97 kB / 0.6929 GB, free: 6.055 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/1.35, allocations: 9.599 MB / 0.7023 GB, free: 12.27 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/1.35, allocations: 11.94 kB / 0.7023 GB, free: 12.25 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0205/1.371, allocations: 9.951 MB / 0.712 GB, free: 2.172 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003452/1.374, allocations: 0.8645 MB / 0.7129 GB, free: 1.305 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.376, allocations: 83.94 kB / 0.713 GB, free: 1.223 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/1.378, allocations: 199.8 kB / 0.7131 GB, free: 1.027 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001149/1.38, allocations: 319.1 kB / 0.7134 GB, free: 0.7148 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006601/1.38, allocations: 136 kB / 0.7136 GB, free: 0.582 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004399/1.385, allocations: 1.786 MB / 0.7153 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/1.385, allocations: 4 kB / 0.7153 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006653/1.391, allocations: 1.379 MB / 0.7167 GB, free: 13.4 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.00109/1.392, allocations: 270 kB / 0.7169 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01466/1.407, allocations: 6.473 MB / 0.7233 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.407, allocations: 0 / 0.7233 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008264/1.415, allocations: 3.302 MB / 0.7265 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006041/1.421, allocations: 0.7259 MB / 0.7272 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03986/1.461, allocations: 14.03 MB / 0.7409 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2716/1.733, allocations: 4.459 MB / 0.7452 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/1.735, allocations: 356.8 kB / 0.7456 GB, free: 180.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.242e-06/1.735, allocations: 1.719 kB / 0.7456 GB, free: 180.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1707/1.905, allocations: 178.1 MB / 0.9195 GB, free: 25.16 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 -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: 15.881266853306442]