Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007923/0.0007923, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003626/0.003626, allocations: 160.7 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8863/0.8863, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.076e-05, allocations: 4.531 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004717/0.004748, allocations: 5.363 MB / 331.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.007923, allocations: 1.655 MB / 332.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008759/0.008799, allocations: 59.69 kB / 332.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009809/0.00978, allocations: 321.4 kB / 333.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.01125, allocations: 401 kB / 333.6 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.01199, allocations: 351.4 kB / 334 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001989/0.01398, allocations: 2.086 MB / 336 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.01562, allocations: 1.552 MB / 337.6 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.01749, allocations: 1.599 MB / 339.2 MB, free: 1.949 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.01912, allocations: 1.017 MB / 340.2 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003609/0.01948, allocations: 311.9 kB / 340.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006475/0.02012, allocations: 447.7 kB / 341 MB, free: 188 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.02059, allocations: 0.7481 MB / 341.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008504/0.02144, allocations: 0.8732 MB / 342.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.02457, allocations: 3.852 MB / 346.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.02458, allocations: 0 / 346.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.02458, allocations: 0 / 346.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001053/0.02469, allocations: 3.984 kB / 346.4 MB, free: 10.69 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004592/0.02928, allocations: 2.422 MB / 348.9 MB, free: 8.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.02933, allocations: 16.03 kB / 348.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/0.02995, allocations: 283.4 kB / 349.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.03159, allocations: 1.273 MB / 350.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.03168, allocations: 168.9 kB / 350.6 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.03189, allocations: 216.4 kB / 350.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.03529, allocations: 2.617 MB / 353.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.03533, allocations: 3.938 kB / 353.4 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.03547, allocations: 92 kB / 353.5 MB, free: 3.457 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.164e-05/0.03553, allocations: 60 kB / 353.6 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/0.03861, allocations: 2.141 MB / 355.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00819/0.0468, allocations: 6.399 MB / 362.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/0.04754, allocations: 0.6885 MB / 362.8 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.04831, allocations: 0.5872 MB / 363.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.04835, allocations: 12.44 kB / 363.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.04839, allocations: 43 kB / 363.4 MB, free: 9.293 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 4.087e-06/0.04839, allocations: 0 / 363.4 MB, free: 9.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.003239/0.05163, allocations: 2.375 MB / 365.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.05167, allocations: 64 kB / 365.9 MB, free: 6.801 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007701/0.05244, allocations: 0.7931 MB / 366.7 MB, free: 5.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.05248, allocations: 37.7 kB / 366.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000428/0.0529, allocations: 0.948 MB / 367.6 MB, free: 4.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.05302, allocations: 230 kB / 367.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.05316, allocations: 142.6 kB / 368 MB, free: 4.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.0533, allocations: 394.7 kB / 368.4 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.05365, allocations: 361.8 kB / 368.8 MB, free: 3.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007299/0.05438, allocations: 0.579 MB / 369.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008694/0.05525, allocations: 0.9951 MB / 370.3 MB, free: 2.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.05526, allocations: 0 / 370.3 MB, free: 2.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001208/0.05647, allocations: 1.15 MB / 371.5 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.0565, allocations: 8 kB / 371.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.05651, allocations: 4 kB / 371.5 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.05676, allocations: 112.7 kB / 371.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.05717, allocations: 171.8 kB / 371.8 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.05891, allocations: 2.191 MB / 374 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.05942, allocations: 39.91 kB / 374 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/0.05949, allocations: 32.19 kB / 374 MB, free: 14.29 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.00108/0.06057, allocations: 0.6497 MB / 374.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.06078, allocations: 91.42 kB / 374.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.06091, allocations: 99.45 kB / 374.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.06093, allocations: 8 kB / 374.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.06094, allocations: 4 kB / 374.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.06095, allocations: 7.922 kB / 374.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.0638, allocations: 2.228 MB / 377.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.06381, allocations: 0 / 377.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.06405, allocations: 103.8 kB / 377.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.06421, allocations: 100.9 kB / 377.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.06424, allocations: 15.98 kB / 377.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.0657, allocations: 2.121 MB / 379.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.06571, allocations: 4.062 kB / 379.5 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.06713, allocations: 1.419 MB / 380.9 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.06743, allocations: 151.5 kB / 381 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.06749, allocations: 19.98 kB / 381 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.06771, allocations: 44.02 kB / 381.1 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.06781, allocations: 44.41 kB / 381.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.06784, allocations: 20 kB / 381.1 MB, free: 6.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005273/0.06836, allocations: 0.5458 MB / 381.7 MB, free: 6.418 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06836, allocations: 0 / 381.7 MB, free: 6.418 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008307/0.06919, allocations: 299.9 kB / 382 MB, free: 6.125 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.0002593/0.06945, allocations: 146.7 kB / 382.1 MB, free: 5.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.07088, allocations: 0.9728 MB / 383.1 MB, free: 4.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.07088, allocations: 4.062 kB / 383.1 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.07144, allocations: 0.5401 MB / 383.6 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.07213, allocations: 211 kB / 383.8 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.07605, allocations: 3.202 MB / 387 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.07685, allocations: 1.112 MB / 388.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.07704, allocations: 68.48 kB / 388.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.07704, allocations: 0 / 388.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Templates: time 0.02743/0.1045, allocations: 29.36 MB / 417.6 MB, free: 2.43 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.612190620973706]