Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001825/0.001825, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002166/0.002166, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 60.14 kB / 378.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2968, allocations: 53.41 MB / 431.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02507/0.3219, allocations: 18.6 MB / 450.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.3369, allocations: 6.508 MB / 456.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00457/0.3415, allocations: 175.1 kB / 457 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01688/0.3584, allocations: 6.377 MB / 463.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.3685, allocations: 2.798 MB / 466.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005061/0.3735, allocations: 1.548 MB / 467.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01585/0.3894, allocations: 9.162 MB / 476.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01939/0.4088, allocations: 10.91 MB / 487.8 MB, free: 14.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007635/0.4164, allocations: 4.758 MB / 492.5 MB, free: 9.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009283/0.4257, allocations: 4.979 MB / 497.5 MB, free: 4.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003897/0.4296, allocations: 1.352 MB / 498.8 MB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004502/0.4341, allocations: 1.683 MB / 0.4888 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003681/0.4378, allocations: 2.623 MB / 0.4914 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006651/0.4444, allocations: 3.845 MB / 0.4951 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02189/0.4663, allocations: 18.32 MB / 0.513 GB, free: 8.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4663, allocations: 0 / 0.513 GB, free: 8.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.651e-05/0.4663, allocations: 3.938 kB / 0.513 GB, free: 8.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003836/0.4667, allocations: 0 / 0.513 GB, free: 8.484 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.03084/0.4975, allocations: 10.66 MB / 0.5234 GB, free: 13.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4976, allocations: 11.98 kB / 0.5234 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03493/0.5325, allocations: 5.907 MB / 0.5292 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/0.5473, allocations: 5.772 MB / 0.5348 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006066/0.5479, allocations: 0.554 MB / 0.5354 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003569/0.5514, allocations: 0.742 MB / 0.5361 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4385/0.9899, allocations: 13.03 MB / 0.5488 GB, free: 85.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002238/0.9902, allocations: 10.69 kB / 0.5488 GB, free: 85.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/0.9916, allocations: 309.1 kB / 0.5491 GB, free: 85.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003533/0.9919, allocations: 495.1 kB / 0.5496 GB, free: 85.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02154/1.013, allocations: 12.56 MB / 0.5619 GB, free: 75.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05338/1.067, allocations: 35.98 MB / 0.597 GB, free: 39.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/1.079, allocations: 8.51 MB / 0.6053 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003825/1.082, allocations: 2.924 MB / 0.6082 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/1.083, allocations: 91.14 kB / 0.6082 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/1.083, allocations: 81.77 kB / 0.6083 GB, free: 28.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.672e-06/1.083, allocations: 0 / 0.6083 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03212/1.115, allocations: 16.74 MB / 0.6247 GB, free: 12.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/1.115, allocations: 94.67 kB / 0.6248 GB, free: 12.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/1.118, allocations: 2.695 MB / 0.6274 GB, free: 9.719 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003599/1.118, allocations: 93.7 kB / 0.6275 GB, free: 9.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.12, allocations: 3.151 MB / 0.6306 GB, free: 6.586 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009411/1.121, allocations: 1.47 MB / 0.632 GB, free: 5.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.122, allocations: 0.9543 MB / 0.6329 GB, free: 4.172 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/1.122, allocations: 305.1 kB / 0.6332 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/1.125, allocations: 2.501 MB / 0.6357 GB, free: 1.363 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005376/1.131, allocations: 4.135 MB / 0.6397 GB, free: 12.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/1.143, allocations: 7.199 MB / 0.6467 GB, free: 4.578 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.685e-05/1.143, allocations: 16 kB / 0.6467 GB, free: 4.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01672/1.159, allocations: 7.971 MB / 0.6545 GB, free: 12.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.667e-05/1.159, allocations: 24 kB / 0.6545 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/1.159, allocations: 52 kB / 0.6546 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003506/1.163, allocations: 1.195 MB / 0.6558 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/1.167, allocations: 1.131 MB / 0.6569 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/1.184, allocations: 10.65 MB / 0.6673 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003596/1.187, allocations: 275.5 kB / 0.6675 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008637/1.188, allocations: 235.9 kB / 0.6678 GB, free: 14.8 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.005494/1.194, allocations: 2.963 MB / 0.6707 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.195, allocations: 345.8 kB / 0.671 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.207, allocations: 6.633 MB / 0.6775 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/1.207, allocations: 44 kB / 0.6775 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/1.207, allocations: 8 kB / 0.6775 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.786e-05/1.208, allocations: 23.91 kB / 0.6775 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02749/1.235, allocations: 13.08 MB / 0.6903 GB, free: 7.617 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/1.235, allocations: 4 kB / 0.6903 GB, free: 7.613 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003352/1.238, allocations: 0.7613 MB / 0.6911 GB, free: 6.852 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/1.242, allocations: 1.089 MB / 0.6921 GB, free: 5.754 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005829/1.242, allocations: 99.97 kB / 0.6922 GB, free: 5.656 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/1.258, allocations: 9.602 MB / 0.7016 GB, free: 11.86 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.258, allocations: 11.94 kB / 0.7016 GB, free: 11.85 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/1.275, allocations: 9.95 MB / 0.7113 GB, free: 1.77 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/1.277, allocations: 0.8606 MB / 0.7122 GB, free: 0.9062 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005115/1.278, allocations: 87.92 kB / 0.7122 GB, free: 0.8203 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.28, allocations: 199.8 kB / 0.7124 GB, free: 0.625 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006583/1.28, allocations: 315.1 kB / 0.7127 GB, free: 324 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002703/1.281, allocations: 132 kB / 0.7129 GB, free: 192 kB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002825/1.284, allocations: 1.786 MB / 0.7146 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.284, allocations: 0 / 0.7146 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004423/1.288, allocations: 1.379 MB / 0.716 GB, free: 13.01 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.0005792/1.289, allocations: 270.2 kB / 0.7162 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.3, allocations: 6.468 MB / 0.7225 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.3, allocations: 1.875 kB / 0.7225 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006146/1.306, allocations: 3.309 MB / 0.7258 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/1.31, allocations: 0.7361 MB / 0.7265 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/1.335, allocations: 14.22 MB / 0.7404 GB, free: 3.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2535/1.589, allocations: 4.596 MB / 0.7449 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005482/1.594, allocations: 1.586 MB / 0.7464 GB, free: 180.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.596, allocations: 324.1 kB / 0.7467 GB, free: 180.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.793e-06/1.596, allocations: 0 / 0.7467 GB, free: 180.5 MB / 0.545 GB Notification: Performance of Templates: time 0.08876/1.684, allocations: 62.57 MB / 0.8078 GB, free: 136.9 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.998617008328438]