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.0009519/0.0009519, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 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.001025/0.001025, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 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.9135/0.9135, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.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.764e-06/1.764e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.155e-05, allocations: 6.25 kB / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005718/0.005749, allocations: 5.752 MB / 256.9 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.008644, allocations: 1.671 MB / 258.5 MB, free: 332 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.009096, allocations: 51.69 kB / 258.6 MB, free: 280 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.009581, allocations: 321.5 kB / 258.9 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000934/0.01051, allocations: 389 kB / 259.3 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.01107, allocations: 367.3 kB / 259.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.01266, allocations: 2.09 MB / 261.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.01427, allocations: 1.532 MB / 263.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.01585, allocations: 1.599 MB / 264.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.0173, allocations: 1.158 MB / 266 MB, free: 8.758 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004262/0.01773, allocations: 308 kB / 266.3 MB, free: 8.457 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.0183, allocations: 467.5 kB / 266.8 MB, free: 8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004553/0.01876, allocations: 0.7558 MB / 267.5 MB, free: 7.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009375/0.01969, allocations: 0.8849 MB / 268.4 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.02164, allocations: 2.091 MB / 270.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.02164, allocations: 0 / 270.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.02164, allocations: 0 / 270.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.57e-05/0.02172, allocations: 0 / 270.5 MB, free: 4.258 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.003014/0.02473, allocations: 2.604 MB / 273.1 MB, free: 1.602 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.02478, allocations: 15.98 kB / 273.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006177/0.0254, allocations: 435.4 kB / 273.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.02654, allocations: 1.042 MB / 274.6 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.015e-05/0.02663, allocations: 164.9 kB / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.02682, allocations: 224.3 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.02876, allocations: 1.353 MB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.02879, allocations: 3.938 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.02891, allocations: 92 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/0.02896, allocations: 59.98 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.03022, allocations: 0.6901 MB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006785/0.037, allocations: 6.104 MB / 283.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.03757, allocations: 449.2 kB / 283.7 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.0381, allocations: 348.1 kB / 284 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.03814, allocations: 16.5 kB / 284.1 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.03818, allocations: 41.89 kB / 284.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 4.488e-06/0.03818, allocations: 0 / 284.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002198/0.04038, allocations: 1.453 MB / 285.6 MB, free: 4.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.04042, allocations: 64 kB / 285.6 MB, free: 4.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/0.04105, allocations: 0.6946 MB / 286.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.04109, allocations: 37.7 kB / 286.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/0.04154, allocations: 1.009 MB / 287.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.04169, allocations: 246 kB / 287.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.04186, allocations: 152.3 kB / 287.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.04209, allocations: 0.5821 MB / 288.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.04228, allocations: 109.9 kB / 288.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.04262, allocations: 448.8 kB / 288.9 MB, free: 1.227 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.0432, allocations: 0.6162 MB / 289.5 MB, free: 492 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.04321, allocations: 0 / 289.5 MB, free: 492 kB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008918/0.0441, allocations: 0.688 MB / 290.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.04412, allocations: 8 kB / 290.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.04413, allocations: 8 kB / 290.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.04437, allocations: 71.59 kB / 290.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.04476, allocations: 175.7 kB / 290.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.04622, allocations: 2.328 MB / 292.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.04651, allocations: 39.91 kB / 292.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.04655, allocations: 36 kB / 292.8 MB, free: 13 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.0003202/0.04687, allocations: 204.4 kB / 293 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.04701, allocations: 107.5 kB / 293.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.744e-05/0.0471, allocations: 91.3 kB / 293.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.04712, allocations: 8 kB / 293.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.078e-06/0.04713, allocations: 4 kB / 293.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.04714, allocations: 7.922 kB / 293.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.04945, allocations: 1.949 MB / 295.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.04946, allocations: 4 kB / 295.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.0497, allocations: 108 kB / 295.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001572/0.04985, allocations: 67.62 kB / 295.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.04989, allocations: 20 kB / 295.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.05121, allocations: 2.297 MB / 297.7 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.05121, allocations: 7.984 kB / 297.7 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008679/0.05208, allocations: 0.8116 MB / 298.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.05226, allocations: 135.5 kB / 298.6 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.05232, allocations: 23.98 kB / 298.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.05253, allocations: 35.97 kB / 298.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.05262, allocations: 48.39 kB / 298.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.05265, allocations: 23.94 kB / 298.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003588/0.05301, allocations: 431 kB / 299.2 MB, free: 6.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05301, allocations: 0 / 299.2 MB, free: 6.383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007569/0.05377, allocations: 299.9 kB / 299.5 MB, free: 6.09 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.000232/0.054, allocations: 155 kB / 299.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008137/0.05481, allocations: 0.6447 MB / 300.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.05481, allocations: 4 kB / 300.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.05546, allocations: 433.3 kB / 300.7 MB, free: 4.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.05608, allocations: 219.5 kB / 300.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.05971, allocations: 2.9 MB / 303.8 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.06008, allocations: 0.5162 MB / 304.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000351/0.06043, allocations: 162.9 kB / 304.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.06056, allocations: 60.5 kB / 304.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of SimCode: time 1.643e-06/0.06056, allocations: 0 / 304.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of Templates: time 0.01821/0.07877, allocations: 12.26 MB / 316.8 MB, free: 4.66 MB / 298.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 -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.9152206250000745]