Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.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.001859/0.001859, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002044/0.002044, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.595/1.595, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.268e-06/4.268e-06, allocations: 3.984 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/3.133e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.009897/0.009929, allocations: 5.801 MB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004653/0.01458, allocations: 1.686 MB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009944/0.01558, allocations: 59.69 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000995/0.01657, allocations: 325.4 kB / 280.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.01855, allocations: 396.9 kB / 280.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009239/0.01948, allocations: 363.4 kB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00341/0.02289, allocations: 2.09 MB / 282.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/0.02548, allocations: 1.548 MB / 284.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.02806, allocations: 1.622 MB / 286.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.03011, allocations: 1.173 MB / 287.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.03064, allocations: 308 kB / 287.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009379/0.03158, allocations: 459.5 kB / 288 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008863/0.03247, allocations: 0.7753 MB / 288.8 MB, free: 1.141 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.03382, allocations: 0.8888 MB / 289.6 MB, free: 256 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1503/0.1841, allocations: 3.883 MB / 293.5 MB, free: 18.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1841, allocations: 0 / 293.5 MB, free: 18.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1841, allocations: 0 / 293.5 MB, free: 18.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001439/0.1842, allocations: 1.125 kB / 293.5 MB, free: 18.58 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.00563/0.1899, allocations: 2.813 MB / 296.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1899, allocations: 15.58 kB / 296.4 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.1912, allocations: 465.9 kB / 296.8 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.1939, allocations: 1.214 MB / 298 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.194, allocations: 168.8 kB / 298.2 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003852/0.1944, allocations: 222.6 kB / 298.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004882/0.1993, allocations: 2.373 MB / 300.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.75e-05/0.1993, allocations: 0 / 300.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/0.1995, allocations: 94.38 kB / 300.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.1997, allocations: 88.83 kB / 301 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.203, allocations: 1.869 MB / 302.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.215, allocations: 7.877 MB / 310.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.2159, allocations: 0.6041 MB / 311.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.2167, allocations: 0.526 MB / 311.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.2168, allocations: 10.09 kB / 311.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2168, allocations: 45.39 kB / 311.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.515e-06/0.2168, allocations: 0 / 311.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00351/0.2203, allocations: 2.065 MB / 314 MB, free: 7.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.2203, allocations: 72 kB / 314 MB, free: 7.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009312/0.2213, allocations: 0.964 MB / 315 MB, free: 6.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.2213, allocations: 33.7 kB / 315 MB, free: 6.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.2217, allocations: 1.055 MB / 316.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2219, allocations: 256.7 kB / 316.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.2221, allocations: 180.3 kB / 316.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.2223, allocations: 0.6434 MB / 317.2 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.2227, allocations: 281.8 kB / 317.4 MB, free: 3.844 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.2232, allocations: 0.6216 MB / 318 MB, free: 3.094 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.2242, allocations: 0.9647 MB / 319 MB, free: 2.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2242, allocations: 4 kB / 319 MB, free: 2.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001495/0.2257, allocations: 1.043 MB / 320.1 MB, free: 1.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2257, allocations: 8 kB / 320.1 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.2257, allocations: 8 kB / 320.1 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/0.226, allocations: 99.62 kB / 320.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.2267, allocations: 185.7 kB / 320.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.2295, allocations: 2.683 MB / 323 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.2301, allocations: 35.98 kB / 323.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.2301, allocations: 35.97 kB / 323.1 MB, free: 13.88 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00127/0.2314, allocations: 0.6196 MB / 323.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.2317, allocations: 107.4 kB / 323.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.2319, allocations: 91.47 kB / 323.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/0.2319, allocations: 11.56 kB / 323.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.2319, allocations: 4 kB / 323.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.2319, allocations: 7.922 kB / 323.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005578/0.2375, allocations: 2.668 MB / 326.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2375, allocations: 0 / 326.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.238, allocations: 111 kB / 326.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/0.2383, allocations: 88.19 kB / 326.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.2383, allocations: 12 kB / 326.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.2411, allocations: 2.562 MB / 329.4 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2411, allocations: 4 kB / 329.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.2435, allocations: 1.181 MB / 330.6 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.244, allocations: 139.4 kB / 330.7 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.2441, allocations: 20.06 kB / 330.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.2445, allocations: 35.97 kB / 330.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.2446, allocations: 55.95 kB / 330.8 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.2447, allocations: 18.97 kB / 330.8 MB, free: 5.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009546/0.2456, allocations: 0.5848 MB / 331.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2456, allocations: 0 / 331.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001346/0.247, allocations: 303.9 kB / 331.7 MB, free: 5.102 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003017/0.2473, allocations: 138.5 kB / 331.8 MB, free: 4.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.2491, allocations: 0.9489 MB / 332.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2491, allocations: 0 / 332.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009253/0.25, allocations: 0.531 MB / 333.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.2512, allocations: 221 kB / 333.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/0.2572, allocations: 3.076 MB / 336.6 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.2588, allocations: 1.049 MB / 337.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005869/0.2594, allocations: 167.9 kB / 337.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.2596, allocations: 56.5 kB / 337.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of SimCode: time 2.144e-06/0.2596, allocations: 0 / 337.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Templates: time 0.02638/0.2859, allocations: 12.21 MB / 350.1 MB, free: 2.902 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.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: 5.049161643022671]