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.0009703/0.0009703, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002239, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0008512/0.0008512, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002064, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9834/0.9834, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/1.065, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.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.914e-06/1.914e-06, allocations: 0 / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.433e-05, allocations: 2.312 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01433/0.01436, allocations: 15.46 MB / 255 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008403/0.02276, allocations: 4.354 MB / 259.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.02594, allocations: 163.2 kB / 259.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00875/0.03469, allocations: 7.913 MB / 267.4 MB, free: 7.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.03992, allocations: 1.521 MB / 269 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.04273, allocations: 1.091 MB / 270.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1208/0.1635, allocations: 8.645 MB / 278.7 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0218/0.1853, allocations: 14.43 MB / 293.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/0.1971, allocations: 7.551 MB / 300.7 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00794/0.205, allocations: 5.322 MB / 306 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003473/0.2085, allocations: 1.379 MB / 307.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005422/0.2139, allocations: 1.649 MB / 309 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003379/0.2173, allocations: 2.102 MB / 311.1 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009882/0.2272, allocations: 3.269 MB / 314.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.2376, allocations: 8.406 MB / 322.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.471e-05/0.2376, allocations: 4.688 kB / 322.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2376, allocations: 0 / 322.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0005341/0.2382, allocations: 0.5 kB / 322.8 MB, free: 7.812 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.01754/0.2557, allocations: 12.12 MB / 334.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2558, allocations: 12.03 kB / 334.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009836/0.2656, allocations: 3.772 MB / 338.7 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005325/0.2709, allocations: 2.628 MB / 341.3 MB, free: 6.098 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000445/0.2714, allocations: 0.6793 MB / 342 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.2728, allocations: 0.8919 MB / 342.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.2838, allocations: 6.087 MB / 349 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/0.2839, allocations: 7.984 kB / 349 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007868/0.2847, allocations: 375.7 kB / 349.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/0.285, allocations: 392.4 kB / 349.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/0.2899, allocations: 2.349 MB / 352.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0331/0.323, allocations: 27.06 MB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003418/0.3264, allocations: 2.481 MB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.3269, allocations: 490.4 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.3271, allocations: 65.95 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3271, allocations: 60.56 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 4.589e-06/0.3271, allocations: 4 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002938/0.3301, allocations: 1.715 MB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.3301, allocations: 73.41 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.3319, allocations: 1.964 MB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-05/0.332, allocations: 61.7 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002012/0.334, allocations: 3.767 MB / 389.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004785/0.3345, allocations: 0.8198 MB / 390.7 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007563/0.3353, allocations: 0.8729 MB / 391.5 MB, free: 5.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.3353, allocations: 312.2 kB / 391.8 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/0.336, allocations: 0.6402 MB / 392.5 MB, free: 4.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.3375, allocations: 2.613 MB / 395.1 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/0.3404, allocations: 3.651 MB / 398.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-05/0.3404, allocations: 20 kB / 398.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003247/0.3437, allocations: 2.977 MB / 401.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.3437, allocations: 40 kB / 401.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.964e-05/0.3438, allocations: 72 kB / 401.8 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/0.3444, allocations: 344.7 kB / 402.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.3465, allocations: 1.107 MB / 403.3 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.3486, allocations: 2.523 MB / 405.8 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.3505, allocations: 0.539 MB / 406.3 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.3507, allocations: 208 kB / 406.5 MB, free: 5.207 MB / 378.7 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.001695/0.3524, allocations: 446.7 kB / 407 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.3528, allocations: 239.6 kB / 407.2 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.3546, allocations: 1.555 MB / 408.8 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009132/0.3555, allocations: 0.8248 MB / 409.6 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3555, allocations: 4 kB / 409.6 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.3555, allocations: 11.95 kB / 409.6 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1314/0.4869, allocations: 5.542 MB / 415.2 MB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.4869, allocations: 1.312 kB / 415.2 MB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.4881, allocations: 394.4 kB / 415.5 MB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000941/0.4891, allocations: 351.4 kB / 415.9 MB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007245/0.4898, allocations: 247.3 kB / 416.1 MB, free: 88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.4899, allocations: 43.64 kB / 416.2 MB, free: 88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.4919, allocations: 2.33 MB / 418.5 MB, free: 86.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4919, allocations: 1.438 kB / 418.5 MB, free: 86.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.4942, allocations: 1.733 MB / 420.2 MB, free: 86.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.4945, allocations: 41.36 kB / 420.3 MB, free: 86.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.4951, allocations: 56.16 kB / 420.3 MB, free: 86.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.4953, allocations: 152.6 kB / 420.5 MB, free: 86.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/0.4954, allocations: 46.59 kB / 420.5 MB, free: 86.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001119/0.4965, allocations: 0.8415 MB / 421.4 MB, free: 86.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4965, allocations: 0 / 421.4 MB, free: 86.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003776/0.5003, allocations: 1.993 MB / 423.4 MB, free: 86.09 MB / 378.7 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.0003746/0.5006, allocations: 195.5 kB / 423.5 MB, free: 86.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.5034, allocations: 2.204 MB / 425.7 MB, free: 85.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001344/0.5035, allocations: 80.12 kB / 425.8 MB, free: 85.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009044/0.5044, allocations: 0.8666 MB / 426.7 MB, free: 85.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.5063, allocations: 0.8895 MB / 427.6 MB, free: 85.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04321/0.5495, allocations: 12.39 MB / 440 MB, free: 80.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/0.5518, allocations: 1.651 MB / 441.6 MB, free: 80.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001503/0.5533, allocations: 486.5 kB / 442.1 MB, free: 80.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009788/0.5543, allocations: 0.6388 MB / 442.7 MB, free: 80.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.994e-06/0.5543, allocations: 0 / 442.7 MB, free: 80.49 MB / 378.7 MB Notification: Performance of Templates: time 0.06378/0.618, allocations: 43.9 MB / 486.6 MB, free: 47.93 MB / 378.7 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 -ignoreHideResult -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.702476192265749]