Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.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.00107/0.00107, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002602, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009988/0.0009988, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001533/0.002532, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8611/0.8611, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1486/1.01, allocations: 52.49 MB / 238.5 MB, free: 7.621 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.521e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004558/0.004573, allocations: 5.773 MB / 245.5 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.00717, allocations: 1.712 MB / 247.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004793/0.00765, allocations: 67.56 kB / 247.3 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.008085, allocations: 322.4 kB / 247.6 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007825/0.008868, allocations: 391.8 kB / 248 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.009356, allocations: 360 kB / 248.3 MB, free: 13.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.01082, allocations: 2.09 MB / 250.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.01217, allocations: 1.583 MB / 252 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.01363, allocations: 1.699 MB / 253.7 MB, free: 8.273 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.01488, allocations: 1.171 MB / 254.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.0152, allocations: 308 kB / 255.2 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.01576, allocations: 459.6 kB / 255.6 MB, free: 6.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003728/0.01614, allocations: 0.6196 MB / 256.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005969/0.01673, allocations: 0.726 MB / 257 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.01816, allocations: 1.951 MB / 258.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.01817, allocations: 0 / 258.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.01817, allocations: 0.5312 kB / 258.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.668e-05/0.01821, allocations: 1.688 kB / 258.9 MB, free: 3.047 MB / 250.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.002484/0.02069, allocations: 2.785 MB / 261.7 MB, free: 236 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.02073, allocations: 9 kB / 261.7 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/0.02124, allocations: 437.7 kB / 262.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/0.02217, allocations: 0.7677 MB / 262.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.02225, allocations: 164.9 kB / 263.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.02244, allocations: 228.3 kB / 263.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.02386, allocations: 1.363 MB / 264.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.02389, allocations: 3.938 kB / 264.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.024, allocations: 92 kB / 264.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.02404, allocations: 56 kB / 264.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000625/0.02467, allocations: 459.4 kB / 265.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/0.02929, allocations: 4.69 MB / 270 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.02964, allocations: 406 kB / 270.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.02997, allocations: 297.4 kB / 270.6 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.03, allocations: 12.5 kB / 270.7 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.03003, allocations: 39.06 kB / 270.7 MB, free: 6.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.845e-06/0.03003, allocations: 4 kB / 270.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001305/0.03133, allocations: 1.022 MB / 271.7 MB, free: 5.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.03136, allocations: 60.06 kB / 271.8 MB, free: 5.766 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.0317, allocations: 0.5583 MB / 272.3 MB, free: 5.195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.03173, allocations: 37.7 kB / 272.4 MB, free: 5.152 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.03201, allocations: 0.8633 MB / 273.2 MB, free: 4.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.03212, allocations: 241.9 kB / 273.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.03224, allocations: 134.6 kB / 273.6 MB, free: 3.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.03235, allocations: 394.5 kB / 274 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.03246, allocations: 92.8 kB / 274.1 MB, free: 3.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.03264, allocations: 313.1 kB / 274.4 MB, free: 3.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.033, allocations: 0.4968 MB / 274.9 MB, free: 2.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.03301, allocations: 4 kB / 274.9 MB, free: 2.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004967/0.0335, allocations: 0.4991 MB / 275.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.03352, allocations: 8 kB / 275.4 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.03353, allocations: 8 kB / 275.4 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.03369, allocations: 76.25 kB / 275.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.03404, allocations: 179.7 kB / 275.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009827/0.03502, allocations: 1.683 MB / 277.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.03522, allocations: 27.98 kB / 277.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.03525, allocations: 24 kB / 277.4 MB, free: 15.8 MB / 282.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.0002145/0.03547, allocations: 172.3 kB / 277.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.03557, allocations: 71.92 kB / 277.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.23e-05/0.03566, allocations: 87.31 kB / 277.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.03567, allocations: 12 kB / 277.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.03568, allocations: 4.031 kB / 277.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.03568, allocations: 3.984 kB / 277.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.03723, allocations: 1.558 MB / 279.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.03723, allocations: 0 / 279.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.03747, allocations: 115.8 kB / 279.4 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.0376, allocations: 95.39 kB / 279.5 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.03772, allocations: 67.72 kB / 279.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.03775, allocations: 15.98 kB / 279.6 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008492/0.0386, allocations: 1.667 MB / 281.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.0386, allocations: 0 / 281.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.03915, allocations: 0.637 MB / 281.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.0392, allocations: 28.03 kB / 281.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.03936, allocations: 23.94 kB / 281.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.03944, allocations: 48.41 kB / 282 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.03946, allocations: 12 kB / 282 MB, free: 10.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.03965, allocations: 264.5 kB / 282.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03965, allocations: 4 kB / 282.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005675/0.04021, allocations: 304 kB / 282.5 MB, free: 10.43 MB / 282.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.0001877/0.0404, allocations: 120.2 kB / 282.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.04094, allocations: 0.516 MB / 283.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.242e-05/0.04096, allocations: 12.5 kB / 283.2 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.04129, allocations: 364.2 kB / 283.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.0423, allocations: 2.11 MB / 285.7 MB, free: 6.863 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.04809, allocations: 3.229 MB / 288.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.04843, allocations: 452.7 kB / 289.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.04869, allocations: 107 kB / 289.4 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.04904, allocations: 245.1 kB / 289.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.04904, allocations: 0 / 289.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of Templates: time 0.01918/0.06822, allocations: 13.63 MB / 303.3 MB, free: 5.383 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/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: 2.576817959547043]