Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.001504/0.001504, allocations: 116.1 kB / 21.18 MB, free: 0.7422 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.001594/0.001594, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/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.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 71.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2101, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01888/0.229, allocations: 16.61 MB / 448.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007711/0.2367, allocations: 4.169 MB / 452.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.2387, allocations: 135.6 kB / 453 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01628/0.255, allocations: 7.499 MB / 460.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.2594, allocations: 1.343 MB / 461.8 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.2623, allocations: 1.235 MB / 463 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009379/0.2717, allocations: 8.257 MB / 471.3 MB, free: 16 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02047/0.2922, allocations: 13.67 MB / 485 MB, free: 2.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.2978, allocations: 4.82 MB / 489.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006986/0.3048, allocations: 5.357 MB / 495.1 MB, free: 7.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00197/0.3068, allocations: 1.383 MB / 496.5 MB, free: 6.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.3095, allocations: 1.66 MB / 498.2 MB, free: 4.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002315/0.3119, allocations: 2.591 MB / 0.489 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005634/0.3175, allocations: 5.218 MB / 0.4941 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.3354, allocations: 18.35 MB / 0.5121 GB, free: 10.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3354, allocations: 0 / 0.5121 GB, free: 10.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3354, allocations: 4 kB / 0.5121 GB, free: 10.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002653/0.3357, allocations: 0 / 0.5121 GB, free: 10.66 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.02537/0.3611, allocations: 10.62 MB / 0.5224 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3611, allocations: 8.031 kB / 0.5225 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/0.38, allocations: 3.714 MB / 0.5261 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.3921, allocations: 5.368 MB / 0.5313 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005828/0.3927, allocations: 0.6824 MB / 0.532 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/0.3949, allocations: 0.8867 MB / 0.5329 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3444/0.7393, allocations: 12.74 MB / 0.5453 GB, free: 85.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001715/0.7394, allocations: 9.703 kB / 0.5453 GB, free: 85.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007801/0.7402, allocations: 379.3 kB / 0.5457 GB, free: 84.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002785/0.7405, allocations: 395.9 kB / 0.546 GB, free: 84.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.7549, allocations: 11.43 MB / 0.5572 GB, free: 79.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04062/0.7955, allocations: 43.72 MB / 0.5999 GB, free: 37.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007558/0.8031, allocations: 10.29 MB / 0.6099 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.8046, allocations: 1.541 MB / 0.6114 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.8048, allocations: 231.3 kB / 0.6117 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.8049, allocations: 56.56 kB / 0.6117 GB, free: 24.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.328e-06/0.8049, allocations: 3.938 kB / 0.6117 GB, free: 24.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007013/0.8119, allocations: 4.684 MB / 0.6163 GB, free: 19.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.8119, allocations: 81.28 kB / 0.6164 GB, free: 19.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/0.8147, allocations: 2.932 MB / 0.6192 GB, free: 16.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.8148, allocations: 57.7 kB / 0.6193 GB, free: 16.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.816, allocations: 3.983 MB / 0.6232 GB, free: 13.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.8164, allocations: 0.829 MB / 0.624 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009675/0.8174, allocations: 0.9604 MB / 0.6249 GB, free: 11.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.268e-05/0.8174, allocations: 301.1 kB / 0.6252 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.8195, allocations: 1.984 MB / 0.6271 GB, free: 9.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/0.8222, allocations: 4.159 MB / 0.6312 GB, free: 3.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006627/0.8289, allocations: 6.521 MB / 0.6376 GB, free: 12.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.321e-05/0.8289, allocations: 24 kB / 0.6376 GB, free: 12.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01006/0.839, allocations: 6.516 MB / 0.644 GB, free: 5.848 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.839, allocations: 36.19 kB / 0.644 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.79e-05/0.8391, allocations: 80 kB / 0.6441 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000882/0.84, allocations: 408.6 kB / 0.6445 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/0.8433, allocations: 1.072 MB / 0.6455 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.8488, allocations: 4.389 MB / 0.6498 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.8515, allocations: 0.6325 MB / 0.6504 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000338/0.8519, allocations: 248 kB / 0.6507 GB, free: 14.86 MB / 478.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.004757/0.8566, allocations: 3.376 MB / 0.654 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/0.8572, allocations: 282.1 kB / 0.6542 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/0.8631, allocations: 3.569 MB / 0.6577 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.8631, allocations: 7.969 kB / 0.6577 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.8631, allocations: 0 / 0.6577 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.8643, allocations: 0.6196 MB / 0.6583 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/0.8646, allocations: 47.94 kB / 0.6584 GB, free: 6.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.8657, allocations: 123.8 kB / 0.6585 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.8659, allocations: 149.8 kB / 0.6586 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005687/0.8716, allocations: 3.322 MB / 0.6619 GB, free: 3.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006544/0.8782, allocations: 4.603 MB / 0.6664 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001788/0.88, allocations: 1.276 MB / 0.6676 GB, free: 13.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002714/0.8827, allocations: 1.963 MB / 0.6695 GB, free: 11.46 MB / 494.1 MB Notification: Performance of Backend: time 2.51e-07/0.8827, allocations: 0 / 0.6695 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006013/0.8887, allocations: 3.51 MB / 0.673 GB, free: 7.949 MB / 494.1 MB Notification: Performance of SimCode: time 0.02135/0.91, allocations: 13.56 MB / 0.6862 GB, free: 10.32 MB / 0.4982 GB Notification: Performance of Templates: time 0.09166/1.002, allocations: 52.65 MB / 0.7376 GB, free: 5.848 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.307101719081402]