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.001815/0.001815, 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 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.002427/0.002427, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001564/0.001564, allocations: 51.91 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2649, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01789/0.2828, allocations: 14.26 MB / 445.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008805/0.2916, allocations: 4.033 MB / 449.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/0.2942, allocations: 167.1 kB / 450 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01715/0.3114, allocations: 6.913 MB / 457 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006347/0.3177, allocations: 1.328 MB / 458.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.322, allocations: 1.216 MB / 459.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01259/0.3346, allocations: 8.308 MB / 467.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02792/0.3625, allocations: 14.22 MB / 482 MB, free: 3.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006892/0.3694, allocations: 4.914 MB / 486.9 MB, free: 15.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008606/0.378, allocations: 5.178 MB / 492.1 MB, free: 9.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00334/0.3814, allocations: 1.383 MB / 493.5 MB, free: 8.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005108/0.3865, allocations: 1.656 MB / 495.2 MB, free: 6.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003724/0.3902, allocations: 2.591 MB / 497.7 MB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007306/0.3975, allocations: 4.043 MB / 0.49 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.4197, allocations: 18.43 MB / 0.508 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4197, allocations: 0 / 0.508 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4197, allocations: 0 / 0.508 GB, free: 13.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004616/0.4202, allocations: 3.938 kB / 0.508 GB, free: 13.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.02927/0.4494, allocations: 10.55 MB / 0.5183 GB, free: 3.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4495, allocations: 12.03 kB / 0.5184 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01973/0.4692, allocations: 3.71 MB / 0.522 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.4834, allocations: 5.437 MB / 0.5273 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007213/0.4841, allocations: 0.6785 MB / 0.5279 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003319/0.4874, allocations: 0.8905 MB / 0.5288 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4179/0.9053, allocations: 12.81 MB / 0.5413 GB, free: 87.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/0.9055, allocations: 14.94 kB / 0.5413 GB, free: 87.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001104/0.9066, allocations: 377.8 kB / 0.5417 GB, free: 86.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003415/0.9069, allocations: 396.8 kB / 0.5421 GB, free: 86.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/0.9254, allocations: 11.41 MB / 0.5532 GB, free: 82.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05512/0.9805, allocations: 37.36 MB / 0.5897 GB, free: 46.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007483/0.988, allocations: 4.174 MB / 0.5938 GB, free: 42.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.9898, allocations: 1.538 MB / 0.5953 GB, free: 41.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.9901, allocations: 67.66 kB / 0.5953 GB, free: 41.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.9901, allocations: 52.56 kB / 0.5954 GB, free: 41.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.23e-06/0.9901, allocations: 0 / 0.5954 GB, free: 41.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007498/0.9976, allocations: 4.603 MB / 0.5999 GB, free: 36.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.9976, allocations: 77.34 kB / 0.6 GB, free: 36.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003935/1.002, allocations: 3.041 MB / 0.6029 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/1.002, allocations: 61.7 kB / 0.603 GB, free: 33.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.003, allocations: 3.984 MB / 0.6069 GB, free: 29.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005374/1.004, allocations: 0.8316 MB / 0.6077 GB, free: 29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/1.005, allocations: 0.9566 MB / 0.6086 GB, free: 28.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.586e-05/1.005, allocations: 313.1 kB / 0.6089 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/1.007, allocations: 1.973 MB / 0.6108 GB, free: 25.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003091/1.01, allocations: 4.157 MB / 0.6149 GB, free: 20.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005588/1.016, allocations: 6.521 MB / 0.6213 GB, free: 12.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.408e-05/1.016, allocations: 24 kB / 0.6213 GB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008609/1.025, allocations: 6.52 MB / 0.6277 GB, free: 6.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/1.025, allocations: 40 kB / 0.6277 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.442e-05/1.025, allocations: 79.98 kB / 0.6278 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/1.026, allocations: 408.5 kB / 0.6282 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/1.029, allocations: 1.076 MB / 0.6292 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/1.033, allocations: 4.175 MB / 0.6333 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/1.036, allocations: 0.6305 MB / 0.6339 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006204/1.037, allocations: 252 kB / 0.6342 GB, free: 15.64 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.006022/1.043, allocations: 3.376 MB / 0.6374 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007997/1.043, allocations: 278.2 kB / 0.6377 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007434/1.051, allocations: 3.58 MB / 0.6412 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004676/1.055, allocations: 2.807 MB / 0.644 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/1.055, allocations: 4 kB / 0.644 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/1.055, allocations: 11.95 kB / 0.644 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/1.073, allocations: 7.998 MB / 0.6518 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.073, allocations: 4 kB / 0.6518 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/1.074, allocations: 419.3 kB / 0.6522 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007767/1.075, allocations: 320.7 kB / 0.6525 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/1.075, allocations: 51.98 kB / 0.6525 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005505/1.081, allocations: 4.011 MB / 0.6565 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.081, allocations: 4.031 kB / 0.6565 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008258/1.089, allocations: 5.136 MB / 0.6615 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.091, allocations: 0.5483 MB / 0.662 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/1.091, allocations: 43.94 kB / 0.6621 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.093, allocations: 131.8 kB / 0.6622 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/1.093, allocations: 169.6 kB / 0.6623 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/1.093, allocations: 67.98 kB / 0.6624 GB, free: 2.484 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003686/1.097, allocations: 1.935 MB / 0.6643 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.097, allocations: 0 / 0.6643 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005615/1.102, allocations: 2 MB / 0.6662 GB, free: 14.53 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * 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 Backend phase and start with SimCode phase: time 0.000491/1.103, allocations: 198.7 kB / 0.6664 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00791/1.111, allocations: 4.444 MB / 0.6708 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.111, allocations: 0 / 0.6708 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/1.114, allocations: 1.622 MB / 0.6724 GB, free: 8.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/1.117, allocations: 0.667 MB / 0.673 GB, free: 7.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03102/1.148, allocations: 13.51 MB / 0.6862 GB, free: 10.02 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009527/1.158, allocations: 5.18 MB / 0.6913 GB, free: 4.801 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004546/1.162, allocations: 1.694 MB / 0.6929 GB, free: 3.102 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008453/1.163, allocations: 239.4 kB / 0.6931 GB, free: 2.867 MB / 0.4982 GB Notification: Performance of SimCode: time 1.133e-06/1.163, allocations: 0 / 0.6931 GB, free: 2.867 MB / 0.4982 GB Notification: Performance of Templates: time 0.08695/1.25, allocations: 46.61 MB / 0.7387 GB, free: 4.711 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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.862461851909757]