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_Characteristics.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.001283/0.001283, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001453/0.001453, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.809 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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2175, 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_Characteristics): time 0.0267/0.2442, allocations: 21.37 MB / 453.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.258, allocations: 7.168 MB / 460.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002557/0.2606, allocations: 222.9 kB / 461.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01957/0.2801, allocations: 8.216 MB / 469.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008107/0.2882, allocations: 2.977 MB / 472.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.2923, allocations: 1.717 MB / 474 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.3046, allocations: 10.96 MB / 485 MB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02045/0.3251, allocations: 14.36 MB / 499.4 MB, free: 3.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007233/0.3323, allocations: 5.884 MB / 0.4934 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008927/0.3413, allocations: 6.355 MB / 0.4996 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002897/0.3442, allocations: 1.672 MB / 0.5012 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.3483, allocations: 2.062 MB / 0.5033 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003062/0.3513, allocations: 3.157 MB / 0.5063 GB, free: 284 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007073/0.3584, allocations: 4.709 MB / 0.5109 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02452/0.3829, allocations: 22.48 MB / 0.5329 GB, free: 5.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3829, allocations: 3.938 kB / 0.5329 GB, free: 5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3829, allocations: 4 kB / 0.5329 GB, free: 4.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003596/0.3833, allocations: 0 / 0.5329 GB, free: 4.996 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.3712/0.7546, allocations: 12.88 MB / 0.5455 GB, free: 89.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7546, allocations: 11.89 kB / 0.5455 GB, free: 89.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03399/0.7886, allocations: 6.183 MB / 0.5515 GB, free: 84.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01347/0.8021, allocations: 7.01 MB / 0.5584 GB, free: 77.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003911/0.8024, allocations: 0.6982 MB / 0.559 GB, free: 76.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002363/0.8048, allocations: 0.9177 MB / 0.5599 GB, free: 75.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02462/0.8294, allocations: 15.92 MB / 0.5755 GB, free: 59.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000212/0.8296, allocations: 19.88 kB / 0.5755 GB, free: 59.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/0.8307, allocations: 391.4 kB / 0.5759 GB, free: 59.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003873/0.8311, allocations: 0.5508 MB / 0.5764 GB, free: 58.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.8523, allocations: 14.74 MB / 0.5908 GB, free: 44.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05183/0.9041, allocations: 44.08 MB / 0.6339 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/0.9216, allocations: 9.188 MB / 0.6428 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004477/0.926, allocations: 2.928 MB / 0.6457 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/0.9263, allocations: 111 kB / 0.6458 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.53e-05/0.9264, allocations: 69.69 kB / 0.6459 GB, free: 4.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 7.885e-06/0.9264, allocations: 3.938 kB / 0.6459 GB, free: 4.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.03794/0.9644, allocations: 17.07 MB / 0.6625 GB, free: 3.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.9644, allocations: 90.58 kB / 0.6626 GB, free: 3.359 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005181/0.9696, allocations: 3.592 MB / 0.6661 GB, free: 15.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/0.9699, allocations: 93.7 kB / 0.6662 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002961/0.9728, allocations: 4.141 MB / 0.6703 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.9741, allocations: 1.449 MB / 0.6717 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/0.9759, allocations: 1.156 MB / 0.6728 GB, free: 8.855 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9761, allocations: 305.1 kB / 0.6731 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/0.9805, allocations: 2.791 MB / 0.6758 GB, free: 5.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006213/0.9867, allocations: 4.978 MB / 0.6807 GB, free: 15.78 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.9981, allocations: 8.314 MB / 0.6888 GB, free: 6.465 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.497e-05/0.9981, allocations: 20 kB / 0.6888 GB, free: 6.445 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0161/1.014, allocations: 9.055 MB / 0.6977 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.88e-05/1.014, allocations: 32 kB / 0.6977 GB, free: 13.33 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.914e-05/1.014, allocations: 72 kB / 0.6978 GB, free: 13.26 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/1.018, allocations: 1.186 MB / 0.6989 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004938/1.023, allocations: 1.334 MB / 0.7002 GB, free: 10.74 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/1.039, allocations: 9.471 MB / 0.7095 GB, free: 1.156 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/1.043, allocations: 327.6 kB / 0.7098 GB, free: 0.8359 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006025/1.043, allocations: 287.9 kB / 0.7101 GB, free: 0.5547 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005882/1.049, allocations: 3.709 MB / 0.7137 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009398/1.05, allocations: 401.4 kB / 0.7141 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.063, allocations: 6.609 MB / 0.7205 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.61e-05/1.063, allocations: 27.92 kB / 0.7205 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.063, allocations: 0 / 0.7205 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/1.065, allocations: 0.8916 MB / 0.7214 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005277/1.066, allocations: 71.94 kB / 0.7215 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.068, allocations: 199.8 kB / 0.7217 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005716/1.068, allocations: 318.7 kB / 0.722 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01191/1.08, allocations: 6.301 MB / 0.7281 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01233/1.092, allocations: 8.171 MB / 0.7361 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003481/1.096, allocations: 2.384 MB / 0.7384 GB, free: 3.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003605/1.1, allocations: 2.326 MB / 0.7407 GB, free: 1.039 MB / 0.545 GB Notification: Performance of Backend: time 2.61e-07/1.1, allocations: 0 / 0.7407 GB, free: 1.039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01038/1.11, allocations: 4.992 MB / 0.7456 GB, free: 12.04 MB / 0.5607 GB Notification: Performance of SimCode: time 0.2107/1.321, allocations: 15.72 MB / 0.7609 GB, free: 199.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.1083/1.429, allocations: 88.9 MB / 0.8478 GB, free: 126.6 MB / 0.5607 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.667179497999314]