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.0007999/0.0007999, allocations: 88.28 kB / 21.43 MB, free: 3.125 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.003577/0.003577, allocations: 150.1 kB / 24.69 MB, free: 9.418 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.8561/0.8561, allocations: 177 MB / 204.9 MB, free: 5.789 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.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 1.533e-06/1.533e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.392e-05, allocations: 10.16 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004712/0.004736, allocations: 5.376 MB / 331.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.006928, allocations: 1.658 MB / 332.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.007282, allocations: 59.69 kB / 332.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.007715, allocations: 321.4 kB / 333.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008249/0.00854, allocations: 397 kB / 333.6 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.008978, allocations: 367.4 kB / 333.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.01033, allocations: 2.093 MB / 336 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.01159, allocations: 1.552 MB / 337.6 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.01269, allocations: 1.595 MB / 339.2 MB, free: 1.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008505/0.01354, allocations: 1.021 MB / 340.2 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.01375, allocations: 312 kB / 340.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.01419, allocations: 459.6 kB / 341 MB, free: 128 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003971/0.01459, allocations: 0.7479 MB / 341.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006881/0.01528, allocations: 0.8771 MB / 342.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.01746, allocations: 3.856 MB / 346.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01747, allocations: 0 / 346.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01747, allocations: 0 / 346.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.01749, allocations: 0 / 346.4 MB, free: 10.63 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.002506/0.02, allocations: 2.435 MB / 348.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.02004, allocations: 11.98 kB / 348.9 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004765/0.02051, allocations: 275.4 kB / 349.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.022, allocations: 1.281 MB / 350.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.02208, allocations: 172.9 kB / 350.6 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.02227, allocations: 216.4 kB / 350.8 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.02485, allocations: 2.633 MB / 353.4 MB, free: 3.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.02488, allocations: 3.938 kB / 353.4 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.025, allocations: 95.92 kB / 353.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.02506, allocations: 92.47 kB / 353.6 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.02727, allocations: 2.145 MB / 355.8 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006245/0.03352, allocations: 6.419 MB / 362.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.03418, allocations: 0.7071 MB / 362.9 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006423/0.03482, allocations: 0.5911 MB / 363.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.03486, allocations: 12.5 kB / 363.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.03489, allocations: 39.06 kB / 363.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 3.116e-06/0.03489, allocations: 0 / 363.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002776/0.03767, allocations: 2.375 MB / 365.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.0377, allocations: 60.06 kB / 366 MB, free: 6.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.03835, allocations: 0.7931 MB / 366.8 MB, free: 5.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.03839, allocations: 33.7 kB / 366.8 MB, free: 5.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.03879, allocations: 0.9558 MB / 367.8 MB, free: 4.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.0389, allocations: 230 kB / 368 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.03905, allocations: 146.6 kB / 368.1 MB, free: 4.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.03918, allocations: 398.7 kB / 368.5 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.03954, allocations: 357.8 kB / 368.9 MB, free: 3.691 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.03999, allocations: 0.5829 MB / 369.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/0.04083, allocations: 0.9911 MB / 370.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.04084, allocations: 0 / 370.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001335/0.04217, allocations: 1.15 MB / 371.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.04219, allocations: 8 kB / 371.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.0422, allocations: 4 kB / 371.6 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.04244, allocations: 121 kB / 371.7 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.0428, allocations: 175.7 kB / 371.9 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.04429, allocations: 2.172 MB / 374.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.04453, allocations: 36.11 kB / 374.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.04457, allocations: 43.98 kB / 374.1 MB, free: 14.11 MB / 346.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.0006626/0.04523, allocations: 0.6535 MB / 374.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/0.04533, allocations: 83.44 kB / 374.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.04543, allocations: 103.5 kB / 375 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.04545, allocations: 8 kB / 375 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.04546, allocations: 3.938 kB / 375 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.04546, allocations: 3.984 kB / 375 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.04764, allocations: 2.225 MB / 377.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.04764, allocations: 4 kB / 377.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.04787, allocations: 107.9 kB / 377.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.04801, allocations: 88.78 kB / 377.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.04804, allocations: 27.97 kB / 377.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.04947, allocations: 2.113 MB / 379.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.04947, allocations: 4.031 kB / 379.6 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.05073, allocations: 1.415 MB / 381 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.05091, allocations: 151.4 kB / 381.1 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.05096, allocations: 12.28 kB / 381.1 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.05116, allocations: 43.89 kB / 381.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.05126, allocations: 56.34 kB / 381.2 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.05128, allocations: 27.94 kB / 381.3 MB, free: 6.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004423/0.05173, allocations: 0.5458 MB / 381.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05173, allocations: 0 / 381.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007109/0.05244, allocations: 304 kB / 382.1 MB, free: 5.941 MB / 346.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.0002461/0.05268, allocations: 143.1 kB / 382.2 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.05371, allocations: 0.9637 MB / 383.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.05371, allocations: 4 kB / 383.2 MB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.05422, allocations: 0.5339 MB / 383.7 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.05483, allocations: 206.7 kB / 383.9 MB, free: 4.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.0584, allocations: 3.218 MB / 387.2 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/0.05917, allocations: 1.12 MB / 388.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.05931, allocations: 68.48 kB / 388.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.05931, allocations: 3.938 kB / 388.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Templates: time 0.02258/0.08189, allocations: 29.43 MB / 417.8 MB, free: 2.148 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] 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: 6.58834287058562]