Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.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.0009016/0.0009016, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002265, allocations: 445.7 kB / 10.37 MB, free: 328 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.003861/0.003861, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.005268, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9092/0.9092, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1546/1.064, allocations: 49.49 MB / 220.6 MB, free: 1.449 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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.54e-05, allocations: 2.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.004808/0.004823, allocations: 5.722 MB / 227.6 MB, free: 10.4 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.007621, allocations: 1.76 MB / 229.3 MB, free: 8.633 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004929/0.008114, allocations: 51.62 kB / 229.4 MB, free: 8.582 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.008525, allocations: 333.4 kB / 229.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008348/0.00936, allocations: 385.1 kB / 230.1 MB, free: 7.875 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.009849, allocations: 355.5 kB / 230.4 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.01124, allocations: 2.086 MB / 232.5 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.01253, allocations: 1.567 MB / 234.1 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.01417, allocations: 1.693 MB / 235.8 MB, free: 2.086 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.01557, allocations: 1.165 MB / 236.9 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.01595, allocations: 308 kB / 237.2 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.01658, allocations: 455.6 kB / 237.7 MB, free: 176 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.01701, allocations: 0.6197 MB / 238.3 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007478/0.01776, allocations: 0.7214 MB / 239 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.01936, allocations: 1.947 MB / 241 MB, free: 12.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.01937, allocations: 0 / 241 MB, free: 12.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01937, allocations: 4 kB / 241 MB, free: 12.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.01941, allocations: 0 / 241 MB, free: 12.87 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.002403/0.02181, allocations: 2.776 MB / 243.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.294e-05/0.02183, allocations: 12.02 kB / 243.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004774/0.02231, allocations: 437.7 kB / 244.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.02309, allocations: 0.6519 MB / 244.8 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.02317, allocations: 164.9 kB / 245 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.02333, allocations: 232.3 kB / 245.2 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.0247, allocations: 1.363 MB / 246.6 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.02473, allocations: 3.938 kB / 246.6 MB, free: 7.082 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.02483, allocations: 92 kB / 246.7 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/0.02487, allocations: 56 kB / 246.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006357/0.02551, allocations: 467.4 kB / 247.2 MB, free: 6.457 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004988/0.0305, allocations: 4.683 MB / 251.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.03082, allocations: 411.6 kB / 252.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.03113, allocations: 293.5 kB / 252.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.03116, allocations: 16.5 kB / 252.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.03118, allocations: 43 kB / 252.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of pre-optimization done (n=63): time 2.014e-06/0.03118, allocations: 0 / 252.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of matching and sorting (n=65): time 0.001441/0.03262, allocations: 1.01 MB / 253.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.03265, allocations: 56.06 kB / 253.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.03301, allocations: 0.5622 MB / 254.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.03304, allocations: 37.7 kB / 254.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.03339, allocations: 0.8593 MB / 255.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.0335, allocations: 233.9 kB / 255.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.03364, allocations: 138.6 kB / 255.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.03376, allocations: 398.5 kB / 255.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.03387, allocations: 92.78 kB / 256 MB, free: 13.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.03407, allocations: 309.1 kB / 256.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.03445, allocations: 496.7 kB / 256.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.03445, allocations: 4 kB / 256.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005811/0.03504, allocations: 0.4912 MB / 257.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.03506, allocations: 8.844 kB / 257.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.03507, allocations: 8 kB / 257.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.03524, allocations: 71.59 kB / 257.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.03561, allocations: 179.8 kB / 257.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.03664, allocations: 1.687 MB / 259.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.03685, allocations: 24 kB / 259.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.03689, allocations: 28 kB / 259.3 MB, free: 9.762 MB / 266.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.0002926/0.03718, allocations: 164.4 kB / 259.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.03729, allocations: 71.92 kB / 259.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.03739, allocations: 95.31 kB / 259.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.03741, allocations: 8 kB / 259.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.03742, allocations: 0 / 259.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.03742, allocations: 3.984 kB / 259.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.03927, allocations: 1.562 MB / 261.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.03927, allocations: 4 kB / 261.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.03952, allocations: 120 kB / 261.3 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.03966, allocations: 95.39 kB / 261.4 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.03982, allocations: 71.7 kB / 261.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.03984, allocations: 19.98 kB / 261.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.04085, allocations: 1.663 MB / 263.1 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.04085, allocations: 0 / 263.1 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.04144, allocations: 0.637 MB / 263.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/0.0415, allocations: 19.98 kB / 263.8 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.04166, allocations: 27.92 kB / 263.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.04173, allocations: 44.42 kB / 263.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.04176, allocations: 15.98 kB / 263.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.04195, allocations: 264.5 kB / 264.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04195, allocations: 0 / 264.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007595/0.04271, allocations: 299.9 kB / 264.4 MB, free: 4.395 MB / 266.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.000216/0.04293, allocations: 128.3 kB / 264.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006107/0.04354, allocations: 0.5022 MB / 265.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.951e-05/0.04357, allocations: 16.48 kB / 265.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.0439, allocations: 331.3 kB / 265.4 MB, free: 3.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.04449, allocations: 283.2 kB / 265.7 MB, free: 3.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.05135, allocations: 3.221 MB / 268.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.0518, allocations: 464.5 kB / 269.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003565/0.05215, allocations: 107 kB / 269.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.0526, allocations: 241.2 kB / 269.7 MB, free: 15 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0526, allocations: 0 / 269.7 MB, free: 15 MB / 282.7 MB Notification: Performance of Templates: time 0.0241/0.0767, allocations: 13.78 MB / 283.5 MB, free: 1.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/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: 2.769671038724482]