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.0007216/0.0007216, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009453/0.001667, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006731/0.0006731, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008561/0.001529, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9371/0.9371, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07986/1.017, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.228e-05, allocations: 5.828 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004676/0.004688, allocations: 5.809 MB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.006756, allocations: 1.771 MB / 252.6 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.007078, allocations: 59.62 kB / 252.7 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.007453, allocations: 333.4 kB / 253 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.008086, allocations: 397 kB / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.008483, allocations: 367.3 kB / 253.7 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.00978, allocations: 2.102 MB / 255.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.01101, allocations: 1.579 MB / 257.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.01227, allocations: 1.705 MB / 259.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009293/0.0132, allocations: 1.177 MB / 260.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.01346, allocations: 308 kB / 260.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.01392, allocations: 443.6 kB / 261 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.01429, allocations: 0.6313 MB / 261.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006139/0.0149, allocations: 0.7253 MB / 262.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.01641, allocations: 1.959 MB / 264.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.01642, allocations: 0 / 264.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01643, allocations: 0 / 264.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.451e-05/0.01647, allocations: 0 / 264.3 MB, free: 10.18 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.002475/0.01894, allocations: 2.811 MB / 267.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.587e-05/0.01897, allocations: 8.625 kB / 267.2 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005398/0.01951, allocations: 461.7 kB / 267.6 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008706/0.02038, allocations: 0.7843 MB / 268.4 MB, free: 6.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.71e-05/0.02046, allocations: 168.9 kB / 268.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.02064, allocations: 224.4 kB / 268.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.02198, allocations: 1.371 MB / 270.2 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.02201, allocations: 3.938 kB / 270.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.02212, allocations: 88 kB / 270.2 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.02217, allocations: 88.55 kB / 270.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.02281, allocations: 467.6 kB / 270.8 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/0.1283, allocations: 4.705 MB / 275.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.1287, allocations: 416.3 kB / 275.9 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.1291, allocations: 290.4 kB / 276.2 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.1292, allocations: 11.36 kB / 276.2 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1292, allocations: 39.03 kB / 276.2 MB, free: 18.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 3.397e-06/0.1292, allocations: 6.438 kB / 276.2 MB, free: 18.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001722/0.1309, allocations: 1.004 MB / 277.2 MB, free: 18.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.1309, allocations: 59.56 kB / 277.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.1314, allocations: 0.5622 MB / 277.9 MB, free: 17.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1315, allocations: 42.23 kB / 277.9 MB, free: 17.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.1318, allocations: 0.8687 MB / 278.8 MB, free: 17.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1319, allocations: 237.9 kB / 279 MB, free: 17.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1321, allocations: 135.9 kB / 279.1 MB, free: 17.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.1322, allocations: 398.8 kB / 279.5 MB, free: 17.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1323, allocations: 92.36 kB / 279.6 MB, free: 17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.1325, allocations: 309.8 kB / 279.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.1329, allocations: 493.3 kB / 280.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1329, allocations: 1.406 kB / 280.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006576/0.1335, allocations: 0.5051 MB / 280.9 MB, free: 16.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1336, allocations: 7.875 kB / 280.9 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1336, allocations: 6.844 kB / 280.9 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.1337, allocations: 66.97 kB / 281 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.1341, allocations: 183.8 kB / 281.2 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009169/0.1351, allocations: 1.673 MB / 282.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.1353, allocations: 28.33 kB / 282.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.1354, allocations: 28.8 kB / 282.9 MB, free: 15.06 MB / 266.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.0003139/0.1357, allocations: 158.6 kB / 283 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.1358, allocations: 75.88 kB / 283.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.197e-05/0.1359, allocations: 93.88 kB / 283.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.1359, allocations: 8.016 kB / 283.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.1359, allocations: 1.875 kB / 283.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1359, allocations: 7.844 kB / 283.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.1379, allocations: 1.575 MB / 284.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1379, allocations: 5.031 kB / 284.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.1382, allocations: 112.6 kB / 284.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.1383, allocations: 94.69 kB / 285 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.1385, allocations: 65.64 kB / 285.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.1385, allocations: 23.34 kB / 285.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007408/0.1392, allocations: 1.666 MB / 286.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1392, allocations: 7.281 kB / 286.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.1398, allocations: 0.6363 MB / 287.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.1399, allocations: 14.33 kB / 287.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.14, allocations: 27.06 kB / 287.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.1401, allocations: 50.19 kB / 287.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.1401, allocations: 16.16 kB / 287.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002323/0.1404, allocations: 262.8 kB / 287.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1404, allocations: 0 / 287.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000767/0.1411, allocations: 300.3 kB / 288.1 MB, free: 12.82 MB / 266.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.0001705/0.1413, allocations: 124.4 kB / 288.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005634/0.1419, allocations: 0.5038 MB / 288.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.673e-05/0.1419, allocations: 19.8 kB / 288.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.1422, allocations: 326.8 kB / 289 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.1428, allocations: 275 kB / 289.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.1488, allocations: 3.248 MB / 292.5 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1491, allocations: 462.9 kB / 293 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003005/0.1494, allocations: 105.7 kB / 293.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.1497, allocations: 243.4 kB / 293.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1497, allocations: 0 / 293.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Templates: time 0.0175/0.1672, allocations: 13.72 MB / 307.1 MB, free: 4 kB / 266.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.787825626321137]