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.0009265/0.0009265, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0008967/0.0008967, allocations: 143.2 kB / 24.98 MB, free: 8.316 MB / 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.9731/0.9731, allocations: 173.3 MB / 201.5 MB, free: 9.32 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 3.807e-06/3.807e-06, allocations: 4 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.286e-05, allocations: 2.312 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01911/0.01914, allocations: 15.81 MB / 283.9 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009753/0.02889, allocations: 4.06 MB / 287.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.03129, allocations: 163.2 kB / 288.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.118/0.1493, allocations: 7.931 MB / 296 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.1545, allocations: 1.528 MB / 297.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.1565, allocations: 1.099 MB / 298.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006302/0.1628, allocations: 8.584 MB / 307.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.1766, allocations: 14.27 MB / 321.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00705/0.1836, allocations: 7.388 MB / 328.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005729/0.1893, allocations: 5.214 MB / 334.1 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002685/0.192, allocations: 1.379 MB / 335.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.1946, allocations: 1.645 MB / 337.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.1961, allocations: 2.675 MB / 339.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.1994, allocations: 3.537 MB / 343.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007315/0.2067, allocations: 8.857 MB / 352.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2067, allocations: 4 kB / 352.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2067, allocations: 0 / 352.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.609e-05/0.2068, allocations: 0 / 352.2 MB, free: 4.184 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.01413/0.2209, allocations: 11.41 MB / 363.6 MB, free: 8.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.221, allocations: 8.031 kB / 363.6 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.2324, allocations: 4.923 MB / 368.6 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005463/0.2379, allocations: 5.058 MB / 373.6 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/0.2382, allocations: 0.681 MB / 374.3 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008697/0.2391, allocations: 0.8923 MB / 375.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008871/0.248, allocations: 5.554 MB / 380.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.2481, allocations: 11.94 kB / 380.8 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005731/0.2487, allocations: 382 kB / 381.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002401/0.2489, allocations: 395.1 kB / 381.5 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00653/0.2554, allocations: 3.43 MB / 384.9 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03246/0.2879, allocations: 35.71 MB / 420.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.2923, allocations: 3.341 MB / 424 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009005/0.2932, allocations: 0.673 MB / 424.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.2934, allocations: 61.97 kB / 424.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.2934, allocations: 59.39 kB / 424.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 4.057e-06/0.2934, allocations: 0 / 424.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.004112/0.2975, allocations: 2.432 MB / 427.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.2976, allocations: 73.41 kB / 427.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.3005, allocations: 3.031 MB / 430.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.853e-05/0.3006, allocations: 61.7 kB / 430.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.3023, allocations: 4.225 MB / 434.6 MB, free: 1.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004792/0.3028, allocations: 0.8457 MB / 435.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2033/0.5061, allocations: 1.106 MB / 436.6 MB, free: 113.4 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.5061, allocations: 483.6 kB / 437 MB, free: 113 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.5074, allocations: 0.6101 MB / 437.6 MB, free: 112.9 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.5092, allocations: 3.929 MB / 441.6 MB, free: 108.9 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/0.5123, allocations: 4.978 MB / 446.5 MB, free: 104.5 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.442e-05/0.5123, allocations: 25.59 kB / 446.6 MB, free: 104.5 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.004851/0.5171, allocations: 3.965 MB / 450.5 MB, free: 103.9 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.5172, allocations: 37.12 kB / 450.6 MB, free: 103.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.608e-05/0.5172, allocations: 74.25 kB / 450.6 MB, free: 103.9 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000755/0.518, allocations: 382.3 kB / 451 MB, free: 103.9 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.5197, allocations: 1.061 MB / 452.1 MB, free: 103.8 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.5219, allocations: 3.468 MB / 455.6 MB, free: 101.8 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.5234, allocations: 0.6425 MB / 456.2 MB, free: 101.8 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.5237, allocations: 250.2 kB / 456.4 MB, free: 101.8 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.001235/0.5249, allocations: 492.8 kB / 456.9 MB, free: 101.5 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.5252, allocations: 359 kB / 457.3 MB, free: 101.5 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.5275, allocations: 2.045 MB / 459.3 MB, free: 101.3 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001459/0.5289, allocations: 1.292 MB / 460.6 MB, free: 101.2 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5289, allocations: 3.906 kB / 460.6 MB, free: 101.2 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5289, allocations: 13.45 kB / 460.6 MB, free: 101.2 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0073/0.5362, allocations: 7.82 MB / 468.4 MB, free: 100.2 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5363, allocations: 1.969 kB / 468.4 MB, free: 100.2 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.537, allocations: 413.2 kB / 468.8 MB, free: 100.2 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/0.5376, allocations: 294.2 kB / 469.1 MB, free: 100.2 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-05/0.5376, allocations: 50.95 kB / 469.2 MB, free: 100.1 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.5395, allocations: 3.319 MB / 472.5 MB, free: 97.53 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5395, allocations: 7.781 kB / 472.5 MB, free: 97.52 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.542, allocations: 2.435 MB / 474.9 MB, free: 96.12 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.5424, allocations: 0.4931 MB / 475.4 MB, free: 95.71 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.5426, allocations: 55.72 kB / 475.5 MB, free: 95.66 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.5431, allocations: 129.5 kB / 475.6 MB, free: 95.57 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.5433, allocations: 157.3 kB / 475.8 MB, free: 95.49 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/0.5434, allocations: 63.8 kB / 475.8 MB, free: 95.43 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001026/0.5444, allocations: 1.25 MB / 477.1 MB, free: 94.36 MB / 378.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5444, allocations: 0 / 477.1 MB, free: 94.36 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002686/0.5471, allocations: 1.992 MB / 479.1 MB, free: 92.63 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.0002507/0.5473, allocations: 216.1 kB / 479.3 MB, free: 92.43 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.5499, allocations: 2.838 MB / 482.1 MB, free: 89.89 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5499, allocations: 0 / 482.1 MB, free: 89.89 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008844/0.5508, allocations: 1.095 MB / 483.2 MB, free: 88.9 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.5523, allocations: 0.6887 MB / 483.9 MB, free: 88.38 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009266/0.5616, allocations: 11.45 MB / 495.4 MB, free: 77.81 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.5628, allocations: 2.283 MB / 497.6 MB, free: 76.12 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001718/0.5645, allocations: 1.458 MB / 499.1 MB, free: 74.98 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.5649, allocations: 236.5 kB / 499.3 MB, free: 74.75 MB / 378.8 MB Notification: Performance of SimCode: time 9.02e-07/0.5649, allocations: 0 / 499.3 MB, free: 74.75 MB / 378.8 MB Notification: Performance of Templates: time 0.04054/0.6054, allocations: 38.23 MB / 0.525 GB, free: 37 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: 3.933015982154757]