Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008614/0.0008614, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.909/0.909, allocations: 173.3 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 3.938 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.749e-05, allocations: 6.25 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01257/0.01259, allocations: 15.9 MB / 283.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007212/0.0198, allocations: 4.067 MB / 288 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.02151, allocations: 159.2 kB / 288.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1303/0.1518, allocations: 7.962 MB / 296.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005055/0.1569, allocations: 1.522 MB / 297.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.159, allocations: 1.104 MB / 298.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006998/0.166, allocations: 8.586 MB / 307.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/0.1802, allocations: 14.26 MB / 321.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007445/0.1877, allocations: 7.39 MB / 329 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005995/0.1937, allocations: 5.24 MB / 334.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002292/0.196, allocations: 1.383 MB / 335.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.1982, allocations: 1.647 MB / 337.2 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00174/0.1999, allocations: 2.679 MB / 339.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002983/0.2029, allocations: 3.529 MB / 343.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007194/0.2101, allocations: 8.861 MB / 352.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2101, allocations: 0 / 352.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2101, allocations: 4 kB / 352.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001114/0.2102, allocations: 0 / 352.3 MB, free: 3.965 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.01408/0.2243, allocations: 11.41 MB / 363.7 MB, free: 8.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2243, allocations: 8.031 kB / 363.7 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.2345, allocations: 4.916 MB / 368.6 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005576/0.24, allocations: 5.067 MB / 373.7 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.2404, allocations: 0.6789 MB / 374.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008392/0.2412, allocations: 0.8909 MB / 375.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008951/0.2501, allocations: 5.555 MB / 380.8 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.2503, allocations: 11.95 kB / 380.8 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005604/0.2508, allocations: 376.7 kB / 381.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/0.2511, allocations: 403.1 kB / 381.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006662/0.2577, allocations: 3.426 MB / 385 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03244/0.2902, allocations: 35.71 MB / 420.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004288/0.2945, allocations: 3.33 MB / 424.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009391/0.2954, allocations: 0.6705 MB / 424.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.2956, allocations: 65.95 kB / 424.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.2956, allocations: 66.77 kB / 424.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 4.217e-06/0.2956, allocations: 0 / 424.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.00442/0.3, allocations: 2.434 MB / 427.3 MB, free: 9.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003358/0.3004, allocations: 77.41 kB / 427.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.3033, allocations: 3.027 MB / 430.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.3033, allocations: 61.7 kB / 430.5 MB, free: 5.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002062/0.3054, allocations: 4.223 MB / 434.7 MB, free: 1.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004898/0.3059, allocations: 0.8477 MB / 435.5 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2555/0.5614, allocations: 1.103 MB / 436.6 MB, free: 92.63 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.5615, allocations: 484 kB / 437.1 MB, free: 92.16 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.563, allocations: 0.6121 MB / 437.7 MB, free: 92.15 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.5655, allocations: 3.926 MB / 441.7 MB, free: 88.09 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004011/0.5696, allocations: 4.984 MB / 446.6 MB, free: 83.99 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-05/0.5696, allocations: 21.12 kB / 446.7 MB, free: 83.99 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005734/0.5753, allocations: 3.963 MB / 450.6 MB, free: 83.84 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.5754, allocations: 36.5 kB / 450.7 MB, free: 83.84 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.231e-05/0.5754, allocations: 75.44 kB / 450.7 MB, free: 83.84 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007356/0.5762, allocations: 388.7 kB / 451.1 MB, free: 83.81 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.5778, allocations: 1.065 MB / 452.2 MB, free: 83.81 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.5801, allocations: 3.477 MB / 455.6 MB, free: 81.83 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.5817, allocations: 0.631 MB / 456.3 MB, free: 81.83 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.5819, allocations: 247.6 kB / 456.5 MB, free: 81.83 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * 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.001574/0.5835, allocations: 489.3 kB / 457 MB, free: 81.67 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.5838, allocations: 361.5 kB / 457.4 MB, free: 81.65 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.586, allocations: 2.048 MB / 459.4 MB, free: 81.46 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001436/0.5875, allocations: 1.289 MB / 460.7 MB, free: 81.36 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.5875, allocations: 7.688 kB / 460.7 MB, free: 81.36 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.5875, allocations: 11.02 kB / 460.7 MB, free: 81.36 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007694/0.5952, allocations: 7.821 MB / 468.5 MB, free: 80.7 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5952, allocations: 1.438 kB / 468.5 MB, free: 80.7 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.596, allocations: 412.1 kB / 468.9 MB, free: 80.7 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005031/0.5965, allocations: 294.4 kB / 469.2 MB, free: 80.66 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/0.5966, allocations: 46.64 kB / 469.3 MB, free: 80.66 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.5985, allocations: 3.32 MB / 472.6 MB, free: 78.63 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5985, allocations: 4.594 kB / 472.6 MB, free: 78.63 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.6009, allocations: 2.438 MB / 475 MB, free: 78.11 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.6014, allocations: 0.4991 MB / 475.5 MB, free: 77.96 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.6016, allocations: 41.16 kB / 475.6 MB, free: 77.96 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005258/0.6021, allocations: 136.1 kB / 475.7 MB, free: 77.96 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.6022, allocations: 156.8 kB / 475.9 MB, free: 77.95 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/0.6023, allocations: 66.05 kB / 475.9 MB, free: 77.95 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001044/0.6033, allocations: 1.255 MB / 477.2 MB, free: 77.76 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6033, allocations: 0 / 477.2 MB, free: 77.76 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002428/0.6058, allocations: 1.996 MB / 479.2 MB, free: 77.44 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (215): * Single equations (assignments): 213 * 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.0002897/0.6061, allocations: 212.5 kB / 479.4 MB, free: 77.35 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.6088, allocations: 2.832 MB / 482.2 MB, free: 76.12 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6088, allocations: 0 / 482.2 MB, free: 76.12 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.6097, allocations: 1.1 MB / 483.3 MB, free: 75.18 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6111, allocations: 0.6848 MB / 484 MB, free: 74.66 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.6214, allocations: 11.44 MB / 495.4 MB, free: 64.11 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.6228, allocations: 2.287 MB / 497.7 MB, free: 62.41 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.00195/0.6247, allocations: 1.458 MB / 499.2 MB, free: 61.56 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.6251, allocations: 236.2 kB / 499.4 MB, free: 61.34 MB / 378.8 MB Notification: Performance of SimCode: time 1.312e-06/0.6251, allocations: 0 / 499.4 MB, free: 61.34 MB / 378.8 MB Notification: Performance of Templates: time 0.04404/0.6692, allocations: 38.24 MB / 0.525 GB, free: 24.26 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/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: 4.107296217698604]