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.0009377/0.0009377, 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.001002/0.001002, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9032/0.9032, allocations: 177 MB / 205.2 MB, free: 5.059 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.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.383e-06/1.383e-06, allocations: 0 / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.462e-05, allocations: 5.266 kB / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004797/0.004812, allocations: 5.726 MB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.007468, allocations: 1.755 MB / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004549/0.007923, allocations: 59.62 kB / 280.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.008351, allocations: 329.4 kB / 281.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009819/0.009333, allocations: 393 kB / 281.6 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.009841, allocations: 371.3 kB / 282 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.01145, allocations: 2.098 MB / 284.1 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.01278, allocations: 1.583 MB / 285.7 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.01416, allocations: 1.634 MB / 287.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009478/0.01511, allocations: 1.169 MB / 288.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.01534, allocations: 312 kB / 288.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.01578, allocations: 451.6 kB / 289.2 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006227/0.0164, allocations: 0.7791 MB / 290 MB, free: 336 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0963/0.1127, allocations: 0.8777 MB / 290.9 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.1151, allocations: 2.094 MB / 293 MB, free: 18.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1151, allocations: 0 / 293 MB, free: 18.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1151, allocations: 1.062 kB / 293 MB, free: 18.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.217e-05/0.1152, allocations: 4.625 kB / 293 MB, free: 18.24 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.00309/0.1183, allocations: 2.347 MB / 295.3 MB, free: 17.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1183, allocations: 13.83 kB / 295.3 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006664/0.119, allocations: 385.4 kB / 295.7 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.12, allocations: 0.7753 MB / 296.5 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/0.1201, allocations: 167.4 kB / 296.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.1203, allocations: 225.7 kB / 296.9 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.122, allocations: 1.37 MB / 298.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.122, allocations: 0 / 298.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.1221, allocations: 93.88 kB / 298.3 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.523e-05/0.1222, allocations: 88.44 kB / 298.4 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.123, allocations: 464.8 kB / 298.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004735/0.1277, allocations: 4.677 MB / 303.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.128, allocations: 412.9 kB / 303.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.1284, allocations: 314.6 kB / 304.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1284, allocations: 13.88 kB / 304.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1284, allocations: 39.06 kB / 304.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.735e-06/0.1284, allocations: 0 / 304.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001193/0.1296, allocations: 1.003 MB / 305.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.593e-05/0.1296, allocations: 62.81 kB / 305.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1299, allocations: 0.566 MB / 305.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.13, allocations: 36.83 kB / 306 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.1302, allocations: 0.8713 MB / 306.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.879e-05/0.1303, allocations: 230.5 kB / 307.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.1304, allocations: 144 kB / 307.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.1304, allocations: 390 kB / 307.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1305, allocations: 93.55 kB / 307.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1307, allocations: 313.2 kB / 308 MB, free: 12.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.131, allocations: 488.4 kB / 308.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.131, allocations: 0 / 308.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004636/0.1314, allocations: 0.4996 MB / 309 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1314, allocations: 7.344 kB / 309 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1314, allocations: 7.562 kB / 309 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.1316, allocations: 80.09 kB / 309.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.1319, allocations: 154.3 kB / 309.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007337/0.1326, allocations: 1.67 MB / 310.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1328, allocations: 23.62 kB / 310.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.1329, allocations: 29.69 kB / 310.9 MB, free: 10.17 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.0002148/0.1331, allocations: 166.3 kB / 311.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.104e-05/0.1332, allocations: 70.19 kB / 311.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.889e-05/0.1332, allocations: 90.06 kB / 311.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.1332, allocations: 10.12 kB / 311.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1333, allocations: 0 / 311.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1333, allocations: 6.172 kB / 311.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.1347, allocations: 1.575 MB / 312.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1347, allocations: 0 / 312.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.1349, allocations: 96.23 kB / 312.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.135, allocations: 71.02 kB / 313 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.135, allocations: 15.98 kB / 313 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006367/0.1356, allocations: 1.672 MB / 314.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1356, allocations: 3.984 kB / 314.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.1361, allocations: 0.6357 MB / 315.3 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1362, allocations: 98.22 kB / 315.4 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.1363, allocations: 12 kB / 315.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1364, allocations: 31.92 kB / 315.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.1365, allocations: 51.31 kB / 315.5 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.1365, allocations: 12 kB / 315.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1367, allocations: 267.7 kB / 315.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1367, allocations: 0 / 315.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005456/0.1372, allocations: 300 kB / 316.1 MB, free: 6.07 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.0001514/0.1373, allocations: 114.9 kB / 316.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.1378, allocations: 0.4989 MB / 316.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.1378, allocations: 10.12 kB / 316.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.138, allocations: 328.6 kB / 317 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.1385, allocations: 223.1 kB / 317.2 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.1411, allocations: 2.855 MB / 320.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1413, allocations: 436.7 kB / 320.5 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.1415, allocations: 107.4 kB / 320.6 MB, free: 1.488 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.1418, allocations: 251.6 kB / 320.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1418, allocations: 0 / 320.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of Templates: time 0.0169/0.1587, allocations: 13.04 MB / 333.9 MB, free: 4.52 MB / 282.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","",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.847519143950194]