Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.001333/0.001333, 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.001406/0.001406, 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 51.86 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2174, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01791/0.2353, allocations: 14.25 MB / 446.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007938/0.2432, allocations: 4.021 MB / 450.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.2447, allocations: 163.2 kB / 450.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01639/0.2611, allocations: 6.911 MB / 457.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.2655, allocations: 1.363 MB / 459.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.2682, allocations: 1.218 MB / 460.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008914/0.2771, allocations: 8.3 MB / 468.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02149/0.2986, allocations: 14.36 MB / 482.9 MB, free: 3.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00593/0.3046, allocations: 4.914 MB / 487.9 MB, free: 14.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007122/0.3117, allocations: 5.361 MB / 493.2 MB, free: 9.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00255/0.3142, allocations: 1.383 MB / 494.6 MB, free: 8.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.3179, allocations: 1.656 MB / 496.3 MB, free: 6.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002596/0.3205, allocations: 2.591 MB / 498.9 MB, free: 3.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005469/0.326, allocations: 4.051 MB / 0.4911 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01921/0.3452, allocations: 18.43 MB / 0.5091 GB, free: 13.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3452, allocations: 0 / 0.5091 GB, free: 13.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3452, allocations: 0 / 0.5091 GB, free: 13.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003061/0.3455, allocations: 3.938 kB / 0.5091 GB, free: 13.32 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: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02663/0.3721, allocations: 10.55 MB / 0.5194 GB, free: 2.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3722, allocations: 12.03 kB / 0.5194 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01943/0.3916, allocations: 3.706 MB / 0.5231 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.4034, allocations: 5.425 MB / 0.5284 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005673/0.404, allocations: 0.6824 MB / 0.529 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/0.4057, allocations: 0.8905 MB / 0.5299 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3409/0.7466, allocations: 12.81 MB / 0.5424 GB, free: 87.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/0.7469, allocations: 9.922 kB / 0.5424 GB, free: 87.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.7479, allocations: 378.6 kB / 0.5428 GB, free: 86.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003334/0.7482, allocations: 397.1 kB / 0.5432 GB, free: 86.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.7653, allocations: 11.4 MB / 0.5543 GB, free: 82.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04599/0.8113, allocations: 37.36 MB / 0.5908 GB, free: 46.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007191/0.8185, allocations: 4.173 MB / 0.5948 GB, free: 42.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.8202, allocations: 1.541 MB / 0.5964 GB, free: 41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.8204, allocations: 65.94 kB / 0.5964 GB, free: 40.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.8204, allocations: 64.56 kB / 0.5965 GB, free: 40.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.149e-06/0.8204, allocations: 0 / 0.5965 GB, free: 40.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.00732/0.8277, allocations: 4.6 MB / 0.601 GB, free: 36.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.8278, allocations: 73.41 kB / 0.601 GB, free: 36.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/0.8308, allocations: 3.042 MB / 0.604 GB, free: 33.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.8309, allocations: 57.7 kB / 0.6041 GB, free: 33.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.8322, allocations: 3.986 MB / 0.608 GB, free: 29.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.8326, allocations: 0.8277 MB / 0.6088 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.8337, allocations: 0.9644 MB / 0.6097 GB, free: 27.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.087e-05/0.8337, allocations: 305.1 kB / 0.61 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.8358, allocations: 1.976 MB / 0.6119 GB, free: 25.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.8386, allocations: 4.157 MB / 0.616 GB, free: 20.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/0.8437, allocations: 6.513 MB / 0.6223 GB, free: 12.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-05/0.8437, allocations: 28 kB / 0.6224 GB, free: 12.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007633/0.8513, allocations: 6.524 MB / 0.6287 GB, free: 6.086 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.8514, allocations: 36 kB / 0.6288 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.064e-05/0.8514, allocations: 76 kB / 0.6289 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007376/0.8521, allocations: 412.7 kB / 0.6292 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.8552, allocations: 1.068 MB / 0.6303 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003885/0.859, allocations: 4.187 MB / 0.6344 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.8618, allocations: 0.6275 MB / 0.635 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003613/0.8621, allocations: 248 kB / 0.6352 GB, free: 15.34 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004813/0.8669, allocations: 3.376 MB / 0.6385 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000525/0.8675, allocations: 278.2 kB / 0.6388 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006192/0.8737, allocations: 3.576 MB / 0.6423 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.8737, allocations: 15.95 kB / 0.6423 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.8737, allocations: 0 / 0.6423 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.875, allocations: 0.5599 MB / 0.6428 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/0.8753, allocations: 40 kB / 0.6429 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.8764, allocations: 131.8 kB / 0.643 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/0.8767, allocations: 165.6 kB / 0.6432 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005909/0.8826, allocations: 3.305 MB / 0.6464 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006871/0.8894, allocations: 4.595 MB / 0.6509 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001837/0.8913, allocations: 1.276 MB / 0.6521 GB, free: 13.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002797/0.8941, allocations: 1.943 MB / 0.654 GB, free: 12.02 MB / 478.1 MB Notification: Performance of Backend: time 3.1e-07/0.8941, allocations: 3.938 kB / 0.654 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006433/0.9005, allocations: 3.511 MB / 0.6575 GB, free: 8.5 MB / 478.1 MB Notification: Performance of SimCode: time 0.02283/0.9233, allocations: 13.53 MB / 0.6707 GB, free: 10.9 MB / 494.1 MB Notification: Performance of Templates: time 0.1038/1.027, allocations: 59.81 MB / 0.7291 GB, free: 15.6 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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: 6.370740629005013]