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.0009412/0.0009412, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009437/0.0009437, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] 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 1.483e-06/1.483e-06, allocations: 0 / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.276e-05, allocations: 2.312 kB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01146/0.01148, allocations: 15.37 MB / 288.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.125/0.1364, allocations: 4.365 MB / 293.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.1387, allocations: 165.3 kB / 293.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007288/0.1459, allocations: 7.891 MB / 301.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.1488, allocations: 1.369 MB / 302.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.1505, allocations: 1.243 MB / 303.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005136/0.1556, allocations: 8.572 MB / 312.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/0.1685, allocations: 14.7 MB / 327.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.1799, allocations: 7.443 MB / 334.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007403/0.1873, allocations: 5.36 MB / 340 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003186/0.1904, allocations: 1.379 MB / 341.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005062/0.1955, allocations: 1.669 MB / 343 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004057/0.1996, allocations: 2.671 MB / 345.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006827/0.2064, allocations: 3.529 MB / 349.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.217, allocations: 8.866 MB / 358.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.217, allocations: 0 / 358.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.217, allocations: 0 / 358.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003384/0.2174, allocations: 4 kB / 358.1 MB, free: 12.81 MB / 314.7 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.01588/0.2333, allocations: 10.35 MB / 368.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2333, allocations: 12.03 kB / 368.5 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/0.2455, allocations: 3.735 MB / 372.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/0.2517, allocations: 2.638 MB / 374.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004969/0.2522, allocations: 0.6833 MB / 375.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.254, allocations: 0.8867 MB / 376.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/0.2678, allocations: 6.096 MB / 382.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.268, allocations: 3.953 kB / 382.5 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/0.269, allocations: 380 kB / 382.9 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00036/0.2694, allocations: 399.1 kB / 383.3 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00861/0.278, allocations: 2.361 MB / 385.6 MB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04476/0.3228, allocations: 26.94 MB / 412.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/0.3261, allocations: 2.418 MB / 415 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.3266, allocations: 0.492 MB / 415.5 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.3268, allocations: 77.94 kB / 415.6 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.3268, allocations: 60.56 kB / 415.6 MB, free: 1.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 4.639e-06/0.3268, allocations: 0 / 415.6 MB, free: 1.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002918/0.3297, allocations: 1.734 MB / 417.3 MB, free: 212 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3297, allocations: 73.41 kB / 417.4 MB, free: 124 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.3316, allocations: 1.958 MB / 419.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.3317, allocations: 61.7 kB / 419.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.3335, allocations: 3.769 MB / 423.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/0.3341, allocations: 0.8174 MB / 424 MB, free: 9.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.3352, allocations: 0.8742 MB / 424.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.3353, allocations: 309.1 kB / 425.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/0.3361, allocations: 0.6479 MB / 425.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.3379, allocations: 2.619 MB / 428.5 MB, free: 3.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2141/0.552, allocations: 3.653 MB / 432.1 MB, free: 94.54 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.814e-05/0.5521, allocations: 21.47 kB / 432.1 MB, free: 94.54 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.004594/0.5567, allocations: 2.987 MB / 435.1 MB, free: 94.44 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.5567, allocations: 36.03 kB / 435.2 MB, free: 94.44 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.431e-05/0.5568, allocations: 75.16 kB / 435.2 MB, free: 94.44 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/0.5575, allocations: 351.8 kB / 435.6 MB, free: 94.42 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.5593, allocations: 1.03 MB / 436.6 MB, free: 94.42 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.5612, allocations: 2.507 MB / 439.1 MB, free: 93.13 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.563, allocations: 0.5389 MB / 439.7 MB, free: 93.12 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.5632, allocations: 206.7 kB / 439.9 MB, free: 93.12 MB / 378.8 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.001407/0.5646, allocations: 454.9 kB / 440.3 MB, free: 93 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.565, allocations: 229.9 kB / 440.5 MB, free: 93 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.5666, allocations: 1.552 MB / 442.1 MB, free: 92.84 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008677/0.5675, allocations: 0.8259 MB / 442.9 MB, free: 92.75 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5675, allocations: 7.469 kB / 442.9 MB, free: 92.75 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.5675, allocations: 11.53 kB / 442.9 MB, free: 92.75 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005924/0.5734, allocations: 5.564 MB / 448.5 MB, free: 92.26 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5734, allocations: 0 / 448.5 MB, free: 92.26 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/0.5742, allocations: 368.3 kB / 448.8 MB, free: 92.25 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.5746, allocations: 242 kB / 449.1 MB, free: 92.23 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.5747, allocations: 47.56 kB / 449.1 MB, free: 92.23 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.5762, allocations: 2.357 MB / 451.5 MB, free: 90.93 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5762, allocations: 0 / 451.5 MB, free: 90.93 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.578, allocations: 1.745 MB / 453.2 MB, free: 90.62 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005256/0.5785, allocations: 348.9 kB / 453.6 MB, free: 90.62 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.5787, allocations: 42.56 kB / 453.6 MB, free: 90.62 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.5791, allocations: 55.53 kB / 453.7 MB, free: 90.61 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.5793, allocations: 152.3 kB / 453.8 MB, free: 90.61 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/0.5793, allocations: 46.94 kB / 453.9 MB, free: 90.61 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.000789/0.5801, allocations: 0.8328 MB / 454.7 MB, free: 90.52 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5801, allocations: 0 / 454.7 MB, free: 90.52 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003217/0.5833, allocations: 1.996 MB / 456.7 MB, free: 90.23 MB / 378.8 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.0002583/0.5836, allocations: 192.6 kB / 456.9 MB, free: 90.16 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.5858, allocations: 2.2 MB / 459.1 MB, free: 89.89 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.473e-05/0.5859, allocations: 65.22 kB / 459.1 MB, free: 89.87 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006849/0.5866, allocations: 0.846 MB / 460 MB, free: 89.7 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.588, allocations: 0.6928 MB / 460.7 MB, free: 89.64 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.6, allocations: 11.38 MB / 472.1 MB, free: 80.73 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.6012, allocations: 1.582 MB / 473.6 MB, free: 79.64 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001232/0.6024, allocations: 490.7 kB / 474.1 MB, free: 79.27 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009618/0.6034, allocations: 0.6493 MB / 474.8 MB, free: 78.7 MB / 378.8 MB Notification: Performance of SimCode: time 1.222e-06/0.6034, allocations: 0 / 474.8 MB, free: 78.7 MB / 378.8 MB Notification: Performance of Templates: time 0.05295/0.6563, allocations: 42.49 MB / 0.5051 GB, free: 37.04 MB / 378.8 MB " [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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8928156779147685]