Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001408/0.001408, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002015/0.003423, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001173/0.001173, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001625/0.002797, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9985/0.9985, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1481/1.147, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.737e-05, allocations: 9.406 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01457/0.01459, allocations: 15.78 MB / 237.8 MB, free: 192 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009987/0.02457, allocations: 4.507 MB / 242.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/0.02774, allocations: 139.3 kB / 242.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01036/0.0381, allocations: 7.949 MB / 250.4 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.04331, allocations: 1.436 MB / 251.8 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.04623, allocations: 1.34 MB / 253.1 MB, free: 0.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.009389/0.05562, allocations: 8.971 MB / 262.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01927/0.07489, allocations: 14.51 MB / 276.6 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01422/0.08911, allocations: 7.743 MB / 284.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1518/0.2409, allocations: 5.537 MB / 289.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006308/0.2472, allocations: 1.401 MB / 291.3 MB, free: 18.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006891/0.2541, allocations: 1.666 MB / 293 MB, free: 18.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004623/0.2587, allocations: 2.204 MB / 295.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01006/0.2688, allocations: 3.03 MB / 298.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.2818, allocations: 8.628 MB / 306.8 MB, free: 18.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.2818, allocations: 3.656 kB / 306.8 MB, free: 18.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2818, allocations: 3.875 kB / 306.8 MB, free: 18.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0005829/0.2824, allocations: 0 / 306.8 MB, free: 18.03 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02075/0.3032, allocations: 12.5 MB / 319.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3032, allocations: 8.031 kB / 319.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.3164, allocations: 5.434 MB / 324.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/0.3209, allocations: 2.181 MB / 327 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.3212, allocations: 0.7015 MB / 327.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/0.3228, allocations: 0.9217 MB / 328.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.334, allocations: 6.448 MB / 335 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.3342, allocations: 7.953 kB / 335 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007334/0.3349, allocations: 391 kB / 335.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003216/0.3352, allocations: 444 kB / 335.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006497/0.3417, allocations: 2.729 MB / 338.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04393/0.3857, allocations: 28.16 MB / 366.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005436/0.3911, allocations: 3.258 MB / 370 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/0.3919, allocations: 0.5438 MB / 370.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005709/0.3976, allocations: 2.773 MB / 373.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3976, allocations: 60.48 kB / 373.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of pre-optimization done (n=188): time 4.107e-06/0.3976, allocations: 0 / 373.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=188): time 0.003637/0.4013, allocations: 1.694 MB / 375.1 MB, free: 7.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.4013, allocations: 75.89 kB / 375.2 MB, free: 6.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.4039, allocations: 2.27 MB / 377.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.404, allocations: 53.7 kB / 377.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/0.4062, allocations: 4.134 MB / 381.6 MB, free: 1.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/0.4067, allocations: 0.7115 MB / 382.3 MB, free: 380 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.4079, allocations: 0.9752 MB / 383.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.408, allocations: 305.1 kB / 383.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009877/0.409, allocations: 0.6768 MB / 384.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.4111, allocations: 3.11 MB / 387.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004272/0.4153, allocations: 4.558 MB / 391.9 MB, free: 4.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-05/0.4154, allocations: 24 kB / 392 MB, free: 4.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.004952/0.4204, allocations: 3.356 MB / 395.3 MB, free: 2.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.4204, allocations: 44 kB / 395.4 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.735e-05/0.4205, allocations: 95.56 kB / 395.5 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007797/0.4213, allocations: 366.1 kB / 395.8 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/0.4241, allocations: 1.227 MB / 397 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.4266, allocations: 2.544 MB / 399.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.4293, allocations: 0.6243 MB / 400.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/0.4297, allocations: 240 kB / 400.4 MB, free: 13.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002181/0.4318, allocations: 496.5 kB / 400.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005251/0.4324, allocations: 231.2 kB / 401.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.4346, allocations: 1.448 MB / 402.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001102/0.4357, allocations: 0.7508 MB / 403.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4357, allocations: 6.844 kB / 403.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.4357, allocations: 7.969 kB / 403.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007208/0.4429, allocations: 4.183 MB / 407.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.4429, allocations: 0 / 407.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.4439, allocations: 337 kB / 407.9 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/0.4447, allocations: 337.2 kB / 408.2 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006226/0.4453, allocations: 251.9 kB / 408.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-05/0.4454, allocations: 32 kB / 408.5 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.4476, allocations: 2.323 MB / 410.8 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4476, allocations: 0 / 410.8 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.45, allocations: 1.577 MB / 412.4 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.4503, allocations: 36 kB / 412.4 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/0.451, allocations: 47.98 kB / 412.5 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.4512, allocations: 137 kB / 412.6 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.159e-05/0.4513, allocations: 39.98 kB / 412.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001215/0.4525, allocations: 0.9511 MB / 413.6 MB, free: 1.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4525, allocations: 4.031 kB / 413.6 MB, free: 1.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004705/0.4572, allocations: 2.058 MB / 415.7 MB, free: 14.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003529/0.4576, allocations: 176.5 kB / 415.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.4609, allocations: 2.416 MB / 418.2 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001729/0.4611, allocations: 88.34 kB / 418.3 MB, free: 12.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.4626, allocations: 1.184 MB / 419.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/0.4671, allocations: 5.498 MB / 425 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1692/0.6362, allocations: 12.89 MB / 437.9 MB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/0.6387, allocations: 1.696 MB / 439.6 MB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001782/0.6404, allocations: 0.4977 MB / 440.1 MB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009329/0.6414, allocations: 0.5994 MB / 440.7 MB, free: 103 MB / 378.7 MB Notification: Performance of SimCode: time 2.464e-06/0.6414, allocations: 3.188 kB / 440.7 MB, free: 103 MB / 378.7 MB Notification: Performance of Templates: time 0.06027/0.7016, allocations: 40.51 MB / 481.2 MB, free: 81.29 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.816532081924379]