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.0009275/0.0009275, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009333/0.0009333, allocations: 158.6 kB / 24.91 MB, free: 8.719 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.8817/0.8817, allocations: 177 MB / 205.2 MB, free: 5.035 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.803e-06/1.803e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.171e-05, allocations: 5.266 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01204/0.01206, allocations: 15.32 MB / 288.7 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0967/0.1088, allocations: 4.361 MB / 293.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.1101, allocations: 161.4 kB / 293.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006634/0.1167, allocations: 7.963 MB / 301.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.119, allocations: 1.385 MB / 302.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1205, allocations: 1.241 MB / 303.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00446/0.1249, allocations: 8.583 MB / 312.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.1371, allocations: 14.74 MB / 327.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006/0.1431, allocations: 7.442 MB / 334.6 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004723/0.1478, allocations: 5.368 MB / 340 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.1491, allocations: 1.379 MB / 341.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.1507, allocations: 1.648 MB / 343 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.1521, allocations: 2.672 MB / 345.7 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002427/0.1546, allocations: 3.529 MB / 349.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005688/0.1602, allocations: 8.862 MB / 358 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1603, allocations: 0 / 358 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1603, allocations: 0 / 358 MB, free: 12.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.012e-05/0.1603, allocations: 4 kB / 358 MB, free: 12.65 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.01114/0.1715, allocations: 10.35 MB / 368.4 MB, free: 2.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1715, allocations: 15.98 kB / 368.4 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008676/0.1802, allocations: 3.751 MB / 372.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/0.1837, allocations: 2.627 MB / 374.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.184, allocations: 0.6794 MB / 375.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008382/0.1848, allocations: 0.8983 MB / 376.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006466/0.1913, allocations: 6.096 MB / 382.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.1914, allocations: 11.94 kB / 382.5 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005481/0.1919, allocations: 372 kB / 382.8 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002174/0.1922, allocations: 403.1 kB / 383.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/0.1956, allocations: 2.365 MB / 385.6 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.2184, allocations: 26.93 MB / 412.5 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.2214, allocations: 2.415 MB / 414.9 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.2219, allocations: 499.7 kB / 415.4 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.222, allocations: 85.94 kB / 415.5 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.222, allocations: 60.55 kB / 415.6 MB, free: 1.781 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 4.359e-06/0.222, allocations: 0 / 415.6 MB, free: 1.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002742/0.2248, allocations: 1.727 MB / 417.3 MB, free: 52 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2248, allocations: 77.41 kB / 417.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.2261, allocations: 1.962 MB / 419.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.752e-05/0.2262, allocations: 65.7 kB / 419.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.2274, allocations: 3.769 MB / 423.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004343/0.2278, allocations: 0.8174 MB / 424 MB, free: 9.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007199/0.2286, allocations: 0.8742 MB / 424.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.2286, allocations: 305.1 kB / 425.2 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.2293, allocations: 0.648 MB / 425.8 MB, free: 7.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.2307, allocations: 2.619 MB / 428.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1749/0.4056, allocations: 3.656 MB / 432.1 MB, free: 94.59 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.556e-05/0.4057, allocations: 21.88 kB / 432.1 MB, free: 94.59 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.00371/0.4094, allocations: 2.987 MB / 435.1 MB, free: 94.49 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.4094, allocations: 36.44 kB / 435.1 MB, free: 94.49 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/0.4095, allocations: 74.34 kB / 435.2 MB, free: 94.49 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.4101, allocations: 352.8 kB / 435.5 MB, free: 94.46 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.4117, allocations: 0.9813 MB / 436.5 MB, free: 94.46 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.4134, allocations: 2.489 MB / 439 MB, free: 93.18 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.4147, allocations: 0.5426 MB / 439.6 MB, free: 93.17 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.4149, allocations: 203.7 kB / 439.7 MB, free: 93.17 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.001119/0.416, allocations: 450.9 kB / 440.2 MB, free: 93.05 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.4163, allocations: 234.5 kB / 440.4 MB, free: 93.05 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.4178, allocations: 1.549 MB / 442 MB, free: 92.88 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000788/0.4186, allocations: 0.8229 MB / 442.8 MB, free: 92.79 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4186, allocations: 6.938 kB / 442.8 MB, free: 92.79 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4186, allocations: 11.84 kB / 442.8 MB, free: 92.79 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/0.4235, allocations: 5.569 MB / 448.4 MB, free: 92.29 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4235, allocations: 3.422 kB / 448.4 MB, free: 92.29 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.4242, allocations: 344.4 kB / 448.7 MB, free: 92.29 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004139/0.4246, allocations: 247.4 kB / 449 MB, free: 92.27 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.4247, allocations: 42.19 kB / 449 MB, free: 92.27 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.426, allocations: 2.35 MB / 451.4 MB, free: 90.97 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.426, allocations: 0 / 451.4 MB, free: 90.97 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.4276, allocations: 1.735 MB / 453.1 MB, free: 90.66 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.428, allocations: 359.2 kB / 453.4 MB, free: 90.65 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.4282, allocations: 36.25 kB / 453.5 MB, free: 90.65 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.4286, allocations: 55.2 kB / 453.5 MB, free: 90.65 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.4287, allocations: 147.2 kB / 453.7 MB, free: 90.65 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.4288, allocations: 47.08 kB / 453.7 MB, free: 90.65 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0005278/0.4293, allocations: 0.842 MB / 454.6 MB, free: 90.56 MB / 378.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4293, allocations: 0 / 454.6 MB, free: 90.56 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002141/0.4315, allocations: 1.993 MB / 456.6 MB, free: 90.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.0002377/0.4317, allocations: 192.7 kB / 456.7 MB, free: 90.2 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.4334, allocations: 2.199 MB / 458.9 MB, free: 89.92 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-05/0.4334, allocations: 57.22 kB / 459 MB, free: 89.91 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.4341, allocations: 0.8599 MB / 459.9 MB, free: 89.73 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.4354, allocations: 0.6838 MB / 460.5 MB, free: 89.69 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008918/0.4443, allocations: 11.38 MB / 471.9 MB, free: 80.73 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.4454, allocations: 1.582 MB / 473.5 MB, free: 79.64 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.000876/0.4462, allocations: 483.4 kB / 474 MB, free: 79.28 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009016/0.4471, allocations: 0.6439 MB / 474.6 MB, free: 78.7 MB / 378.8 MB Notification: Performance of SimCode: time 6.41e-07/0.4471, allocations: 0 / 474.6 MB, free: 78.7 MB / 378.8 MB Notification: Performance of Templates: time 0.0449/0.492, allocations: 42.5 MB / 0.505 GB, free: 37 MB / 378.8 MB " [Timeout remaining time 660] 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.58216037414968]