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.IMS_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.001848/0.001848, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002241/0.002241, allocations: 217.3 kB / 24.49 MB, free: 3.93 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 43.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2082, allocations: 53.37 MB / 432.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0293/0.2375, allocations: 23.2 MB / 455.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.253, allocations: 7.849 MB / 463.4 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.2558, allocations: 234.8 kB / 463.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02109/0.2769, allocations: 8.762 MB / 472.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009797/0.2867, allocations: 3.404 MB / 475.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004459/0.2912, allocations: 1.811 MB / 477.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01428/0.3055, allocations: 12.38 MB / 490 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02366/0.3291, allocations: 16.03 MB / 0.4942 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009296/0.3384, allocations: 6.655 MB / 0.5007 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/0.3496, allocations: 7.281 MB / 0.5078 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003385/0.353, allocations: 1.832 MB / 0.5096 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004724/0.3577, allocations: 2.218 MB / 0.5118 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003458/0.3612, allocations: 3.605 MB / 0.5153 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007078/0.3683, allocations: 5.366 MB / 0.5205 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3776/0.7458, allocations: 24.89 MB / 0.5448 GB, free: 42.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7458, allocations: 0 / 0.5448 GB, free: 42.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7458, allocations: 0.5 kB / 0.5448 GB, free: 42.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004713/0.7463, allocations: 1.656 kB / 0.5448 GB, free: 42.42 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03624/0.7825, allocations: 14.66 MB / 0.5591 GB, free: 38.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.7826, allocations: 11 kB / 0.5592 GB, free: 38.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04531/0.8279, allocations: 8.432 MB / 0.5674 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01717/0.8451, allocations: 7.813 MB / 0.575 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000743/0.8458, allocations: 0.807 MB / 0.5758 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004522/0.8503, allocations: 1.059 MB / 0.5768 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04021/0.8906, allocations: 18.54 MB / 0.5949 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004772/0.891, allocations: 15.33 kB / 0.595 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004036/0.8951, allocations: 453.7 kB / 0.5954 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005949/0.8957, allocations: 0.6672 MB / 0.596 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03306/0.9287, allocations: 17.48 MB / 0.6131 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09806/1.027, allocations: 50.33 MB / 0.6623 GB, free: 10.25 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02409/1.051, allocations: 12.66 MB / 0.6746 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006256/1.057, allocations: 3.729 MB / 0.6783 GB, free: 11.92 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/1.058, allocations: 131.9 kB / 0.6784 GB, free: 11.79 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.953e-05/1.058, allocations: 90.28 kB / 0.6785 GB, free: 11.69 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.936e-06/1.058, allocations: 0 / 0.6785 GB, free: 11.69 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04767/1.105, allocations: 21.23 MB / 0.6992 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/1.105, allocations: 109.5 kB / 0.6993 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00585/1.111, allocations: 3.999 MB / 0.7032 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003816/1.112, allocations: 109.7 kB / 0.7033 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003404/1.115, allocations: 4.685 MB / 0.7079 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001717/1.117, allocations: 1.865 MB / 0.7097 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0022/1.119, allocations: 1.375 MB / 0.7111 GB, free: 10.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.119, allocations: 305.1 kB / 0.7114 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005476/1.125, allocations: 3.434 MB / 0.7147 GB, free: 6.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007554/1.132, allocations: 5.901 MB / 0.7205 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01435/1.146, allocations: 10.01 MB / 0.7303 GB, free: 4.621 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7e-05/1.147, allocations: 24 kB / 0.7303 GB, free: 4.598 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02068/1.167, allocations: 10.88 MB / 0.7409 GB, free: 10.13 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/1.167, allocations: 36.38 kB / 0.7409 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/1.167, allocations: 84 kB / 0.741 GB, free: 10.02 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003789/1.171, allocations: 1.373 MB / 0.7424 GB, free: 8.645 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006298/1.178, allocations: 1.622 MB / 0.7439 GB, free: 7.133 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2157/1.393, allocations: 10.93 MB / 0.7546 GB, free: 202.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/1.398, allocations: 405.3 kB / 0.755 GB, free: 202.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004899/1.398, allocations: 337.7 kB / 0.7553 GB, free: 202.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00498/1.403, allocations: 4.16 MB / 0.7594 GB, free: 202.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008286/1.404, allocations: 482.9 kB / 0.7599 GB, free: 202.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.416, allocations: 8.387 MB / 0.768 GB, free: 199.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.089e-05/1.416, allocations: 27.09 kB / 0.7681 GB, free: 199.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.416, allocations: 0 / 0.7681 GB, free: 199.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/1.419, allocations: 1.107 MB / 0.7692 GB, free: 199.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005854/1.419, allocations: 94.53 kB / 0.7692 GB, free: 199.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.421, allocations: 264.6 kB / 0.7695 GB, free: 199.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005592/1.422, allocations: 410.1 kB / 0.7699 GB, free: 199.4 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01168/1.433, allocations: 8.005 MB / 0.7777 GB, free: 196.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01152/1.445, allocations: 10.41 MB / 0.7879 GB, free: 191.3 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003157/1.448, allocations: 3.061 MB / 0.7909 GB, free: 188.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002939/1.451, allocations: 2.576 MB / 0.7934 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of Backend: time 2.9e-07/1.451, allocations: 0 / 0.7934 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009482/1.461, allocations: 5.952 MB / 0.7992 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of SimCode: time 0.02286/1.483, allocations: 18.14 MB / 0.8169 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1272/1.611, allocations: 104.6 MB / 0.9191 GB, free: 61.45 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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: 8.300470075999328]