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.0009336/0.0009336, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009312/0.0009312, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.979/0.979, allocations: 177 MB / 204.8 MB, free: 5.578 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.823e-06/1.823e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.074e-05, allocations: 5.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01248/0.0125, allocations: 15.92 MB / 288.8 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1124/0.1249, allocations: 4.109 MB / 293 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.1272, allocations: 161 kB / 293.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008512/0.1358, allocations: 7.973 MB / 301.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.1399, allocations: 1.378 MB / 302.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.142, allocations: 1.242 MB / 303.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005919/0.1479, allocations: 8.578 MB / 312.3 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01587/0.1638, allocations: 14.28 MB / 326.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00871/0.1725, allocations: 7.401 MB / 334 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006067/0.1785, allocations: 5.246 MB / 339.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002747/0.1813, allocations: 1.379 MB / 340.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.1853, allocations: 1.656 MB / 342.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001883/0.1872, allocations: 2.673 MB / 344.9 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005186/0.1924, allocations: 3.53 MB / 348.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008776/0.2012, allocations: 8.866 MB / 357.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2012, allocations: 0 / 357.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2012, allocations: 4 kB / 357.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000397/0.2016, allocations: 0 / 357.3 MB, free: 13.57 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.01677/0.2184, allocations: 11.42 MB / 368.7 MB, free: 2.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2184, allocations: 11.98 kB / 368.7 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.2289, allocations: 4.838 MB / 373.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005954/0.2348, allocations: 4.968 MB / 378.6 MB, free: 8.188 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/0.2352, allocations: 0.6833 MB / 379.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.2362, allocations: 0.8906 MB / 380.1 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.2474, allocations: 5.571 MB / 385.7 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.2475, allocations: 11.95 kB / 385.7 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005623/0.2481, allocations: 376 kB / 386.1 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/0.2483, allocations: 395.1 kB / 386.5 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00754/0.2559, allocations: 3.446 MB / 389.9 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03687/0.2927, allocations: 35.76 MB / 425.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.2972, allocations: 3.361 MB / 429 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.2981, allocations: 0.6627 MB / 429.7 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.2982, allocations: 85.92 kB / 429.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.2983, allocations: 67.31 kB / 429.8 MB, free: 3.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 4.919e-06/0.2983, allocations: 7.938 kB / 429.8 MB, free: 3.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.004116/0.3024, allocations: 2.453 MB / 432.3 MB, free: 1.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3024, allocations: 73.41 kB / 432.4 MB, free: 1.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2099/0.5123, allocations: 3.023 MB / 435.4 MB, free: 91.32 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00032/0.5127, allocations: 59.2 kB / 435.5 MB, free: 91.29 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002202/0.5149, allocations: 4.22 MB / 439.7 MB, free: 89.83 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007789/0.5156, allocations: 0.8503 MB / 440.5 MB, free: 89.41 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.517, allocations: 1.112 MB / 441.6 MB, free: 89.31 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.517, allocations: 480.7 kB / 442.1 MB, free: 88.84 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.5182, allocations: 0.6156 MB / 442.7 MB, free: 88.82 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.5204, allocations: 3.942 MB / 446.7 MB, free: 84.76 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.5243, allocations: 4.99 MB / 451.7 MB, free: 80.67 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.158e-05/0.5244, allocations: 22.66 kB / 451.7 MB, free: 80.67 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005124/0.5295, allocations: 3.979 MB / 455.7 MB, free: 80.36 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.5296, allocations: 42.38 kB / 455.7 MB, free: 80.36 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-05/0.5296, allocations: 73.97 kB / 455.8 MB, free: 80.36 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.5303, allocations: 382.8 kB / 456.1 MB, free: 80.33 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.532, allocations: 1.065 MB / 457.2 MB, free: 80.33 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.5343, allocations: 3.478 MB / 460.7 MB, free: 78.3 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.5363, allocations: 0.6264 MB / 461.3 MB, free: 78.11 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/0.5366, allocations: 253 kB / 461.6 MB, free: 78.11 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.001481/0.5381, allocations: 494 kB / 462 MB, free: 77.9 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004223/0.5385, allocations: 357.4 kB / 462.4 MB, free: 77.75 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.5407, allocations: 2.032 MB / 464.4 MB, free: 77.54 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001546/0.5423, allocations: 1.307 MB / 465.7 MB, free: 77.44 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5423, allocations: 5.531 kB / 465.7 MB, free: 77.44 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.5423, allocations: 16.45 kB / 465.8 MB, free: 77.43 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008632/0.5509, allocations: 7.84 MB / 473.6 MB, free: 76.18 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.5509, allocations: 1.812 kB / 473.6 MB, free: 76.18 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008164/0.5518, allocations: 422.3 kB / 474 MB, free: 76.16 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005674/0.5523, allocations: 280 kB / 474.3 MB, free: 76.11 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.163e-05/0.5524, allocations: 57.12 kB / 474.3 MB, free: 76.08 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.5545, allocations: 3.303 MB / 477.6 MB, free: 73.49 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5545, allocations: 6.844 kB / 477.6 MB, free: 73.49 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.5576, allocations: 2.458 MB / 480.1 MB, free: 72.55 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000794/0.5584, allocations: 0.4986 MB / 480.6 MB, free: 72.27 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.5586, allocations: 46.2 kB / 480.6 MB, free: 72.24 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.5592, allocations: 131.5 kB / 480.8 MB, free: 72.21 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.5594, allocations: 160.4 kB / 480.9 MB, free: 72.18 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.191e-05/0.5595, allocations: 77.02 kB / 481 MB, free: 72.16 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001493/0.561, allocations: 1.252 MB / 482.3 MB, free: 71.27 MB / 378.8 MB Notification: Performance of sort global known variables: time 3e-07/0.561, allocations: 0 / 482.3 MB, free: 71.27 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003953/0.5649, allocations: 1.988 MB / 484.2 MB, free: 69.27 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.0003521/0.5653, allocations: 199 kB / 484.4 MB, free: 69.1 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003215/0.5685, allocations: 2.847 MB / 487.3 MB, free: 66.76 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5685, allocations: 0 / 487.3 MB, free: 66.76 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009401/0.5694, allocations: 1.106 MB / 488.4 MB, free: 65.81 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.571, allocations: 0.694 MB / 489.1 MB, free: 65.28 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.5836, allocations: 11.4 MB / 0.4888 GB, free: 54.75 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.5852, allocations: 2.288 MB / 0.491 GB, free: 52.76 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001973/0.5871, allocations: 1.459 MB / 0.4924 GB, free: 51.3 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.5876, allocations: 240.5 kB / 0.4926 GB, free: 51.07 MB / 378.8 MB Notification: Performance of SimCode: time 2.034e-06/0.5876, allocations: 0 / 0.4926 GB, free: 51.07 MB / 378.8 MB Notification: Performance of Templates: time 0.04577/0.6334, allocations: 40.74 MB / 0.5324 GB, free: 10.91 MB / 378.8 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: 3.950080005917698]