Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001317/0.001317, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001585/0.001585, allocations: 159.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9613/0.9613, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.419e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01249/0.01251, allocations: 15.31 MB / 289.4 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00846/0.02097, allocations: 4.111 MB / 293.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.02403, allocations: 163.2 kB / 293.7 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008844/0.03287, allocations: 7.731 MB / 301.4 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006293/0.03916, allocations: 1.374 MB / 302.8 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.04223, allocations: 1.229 MB / 304 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008754/0.05099, allocations: 8.577 MB / 312.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02128/0.07227, allocations: 14.28 MB / 326.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01343/0.0857, allocations: 7.4 MB / 334.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007681/0.09338, allocations: 5.26 MB / 339.6 MB, free: 2.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003356/0.09674, allocations: 1.379 MB / 340.9 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1336/0.2304, allocations: 1.653 MB / 342.6 MB, free: 37.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004507/0.2349, allocations: 2.672 MB / 345.3 MB, free: 37.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008896/0.2438, allocations: 3.529 MB / 348.8 MB, free: 37.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.2559, allocations: 8.873 MB / 357.7 MB, free: 36.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2559, allocations: 1 kB / 357.7 MB, free: 36.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2559, allocations: 0 / 357.7 MB, free: 36.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006453/0.2566, allocations: 3.188 kB / 357.7 MB, free: 36.48 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.01879/0.2754, allocations: 11.18 MB / 368.9 MB, free: 31.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2754, allocations: 10.59 kB / 368.9 MB, free: 31.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009709/0.2851, allocations: 3.733 MB / 372.6 MB, free: 30.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006337/0.2915, allocations: 4.607 MB / 377.2 MB, free: 27.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003427/0.2918, allocations: 0.6772 MB / 377.9 MB, free: 27.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.2934, allocations: 0.8903 MB / 378.8 MB, free: 26.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008587/0.302, allocations: 4.91 MB / 383.7 MB, free: 22.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.3021, allocations: 7.953 kB / 383.7 MB, free: 22.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005489/0.3026, allocations: 377.3 kB / 384.1 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/0.3028, allocations: 406.8 kB / 384.5 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.3079, allocations: 2.723 MB / 387.2 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03697/0.3449, allocations: 35.29 MB / 422.5 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/0.3484, allocations: 2.783 MB / 425.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/0.3491, allocations: 0.5684 MB / 425.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.3492, allocations: 77.94 kB / 425.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.3493, allocations: 67.38 kB / 426 MB, free: 13.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=223): time 4.028e-06/0.3493, allocations: 0 / 426 MB, free: 13.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=223): time 0.003856/0.3531, allocations: 2.196 MB / 428.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3532, allocations: 84.23 kB / 428.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.3559, allocations: 2.909 MB / 431.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/0.356, allocations: 61.7 kB / 431.2 MB, free: 8.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002248/0.3583, allocations: 4.233 MB / 435.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005387/0.3588, allocations: 0.8621 MB / 436.3 MB, free: 3.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009799/0.3598, allocations: 1.118 MB / 437.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.3599, allocations: 488.7 kB / 437.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006688/0.3606, allocations: 492.5 kB / 438.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.3629, allocations: 3.819 MB / 442.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.3672, allocations: 4.776 MB / 447 MB, free: 6.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.606e-05/0.3673, allocations: 24 kB / 447 MB, free: 6.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005826/0.3731, allocations: 3.639 MB / 450.6 MB, free: 3.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.3731, allocations: 36 kB / 450.7 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-05/0.3732, allocations: 76 kB / 450.7 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007499/0.374, allocations: 369.1 kB / 451.1 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.3757, allocations: 0.994 MB / 452.1 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.3786, allocations: 3.369 MB / 455.5 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.3807, allocations: 0.5351 MB / 456 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.3809, allocations: 212 kB / 456.2 MB, free: 14.09 MB / 378.7 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.002154/0.3831, allocations: 497.3 kB / 456.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005904/0.3837, allocations: 362.1 kB / 457 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.3861, allocations: 1.864 MB / 458.9 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001356/0.3874, allocations: 1.133 MB / 460 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3875, allocations: 4 kB / 460 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.3875, allocations: 11.95 kB / 460.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.3994, allocations: 7.568 MB / 467.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.3994, allocations: 0 / 467.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008112/0.4002, allocations: 357.6 kB / 468 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005811/0.4008, allocations: 263.8 kB / 468.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.4009, allocations: 51.98 kB / 468.3 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.4035, allocations: 3.203 MB / 471.5 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4035, allocations: 3.656 kB / 471.5 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.4061, allocations: 2.17 MB / 473.7 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/0.4069, allocations: 472.5 kB / 474.1 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.407, allocations: 40 kB / 474.2 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.4076, allocations: 51.98 kB / 474.2 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.4077, allocations: 165 kB / 474.4 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.037e-05/0.4078, allocations: 51.98 kB / 474.4 MB, free: 12.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.4091, allocations: 1.171 MB / 475.6 MB, free: 11.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4091, allocations: 0 / 475.6 MB, free: 11.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004418/0.4135, allocations: 1.988 MB / 477.6 MB, free: 9.727 MB / 394.7 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.0003693/0.4138, allocations: 214.8 kB / 477.8 MB, free: 9.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.4169, allocations: 2.615 MB / 480.4 MB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4169, allocations: 0 / 480.4 MB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009684/0.4179, allocations: 1.022 MB / 481.4 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.4197, allocations: 0.6956 MB / 482.1 MB, free: 5.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.133/0.5527, allocations: 11.3 MB / 493.4 MB, free: 104.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/0.5548, allocations: 2.287 MB / 495.7 MB, free: 104.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001456/0.5563, allocations: 492.9 kB / 496.2 MB, free: 104 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009931/0.5572, allocations: 0.7187 MB / 496.9 MB, free: 104 MB / 394.7 MB Notification: Performance of SimCode: time 2.084e-06/0.5572, allocations: 0 / 496.9 MB, free: 104 MB / 394.7 MB Notification: Performance of Templates: time 0.05661/0.6139, allocations: 42.76 MB / 0.527 GB, free: 75.35 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 4.249408558011055]