Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002453/0.002458, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 82.72 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2779/0.2779, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.782e-05/4.825e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 58.84 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.6012, allocations: 87.34 MB / 0.5581 GB, free: 308 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.6015, allocations: 64.41 kB / 0.5581 GB, free: 276 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01197/0.6135, allocations: 2.806 MB / 0.5609 GB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6136, allocations: 0 / 0.5609 GB, free: 13.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.6136, allocations: 0 / 0.5609 GB, free: 13.87 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007722/0.6144, allocations: 420.7 kB / 0.5613 GB, free: 13.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.6145, allocations: 12.02 kB / 0.5613 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.6145, allocations: 11.91 kB / 0.5613 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.6148, allocations: 203.4 kB / 0.5615 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.6149, allocations: 7.969 kB / 0.5615 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.6149, allocations: 15.31 kB / 0.5615 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.6153, allocations: 128.3 kB / 0.5616 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6153, allocations: 4 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.6153, allocations: 3.875 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.6154, allocations: 4 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.6156, allocations: 77.09 kB / 0.5617 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.6174, allocations: 0.5631 MB / 0.5623 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.6178, allocations: 65.02 kB / 0.5623 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.6179, allocations: 16.3 kB / 0.5624 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.6179, allocations: 0 / 0.5624 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.618, allocations: 42.38 kB / 0.5624 GB, free: 12.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.064e-06/0.618, allocations: 0 / 0.5624 GB, free: 12.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002449/0.6183, allocations: 60.83 kB / 0.5625 GB, free: 12.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.6183, allocations: 55.36 kB / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.6185, allocations: 135.4 kB / 0.5626 GB, free: 12.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.6185, allocations: 25.7 kB / 0.5627 GB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.6187, allocations: 204.7 kB / 0.5629 GB, free: 11.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.6187, allocations: 23.44 kB / 0.5629 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.6187, allocations: 0 / 0.5629 GB, free: 11.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6189, allocations: 321.9 kB / 0.5632 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.6189, allocations: 11.81 kB / 0.5632 GB, free: 11.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.272e-05/0.619, allocations: 51.41 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.149e-05/0.6191, allocations: 30.66 kB / 0.5633 GB, free: 11.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6191, allocations: 0 / 0.5633 GB, free: 11.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002389/0.6194, allocations: 99.3 kB / 0.5634 GB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6194, allocations: 4 kB / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6194, allocations: 4 kB / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.6195, allocations: 0 / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.6198, allocations: 27.98 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6198, allocations: 0 / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.62, allocations: 23.97 kB / 0.5634 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.62, allocations: 7.562 kB / 0.5634 GB, free: 11.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/0.6201, allocations: 112.9 kB / 0.5635 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.6202, allocations: 7.906 kB / 0.5636 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.6202, allocations: 15.77 kB / 0.5636 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6202, allocations: 0 / 0.5636 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6202, allocations: 4 kB / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6202, allocations: 0 / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.6206, allocations: 210.3 kB / 0.5638 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6206, allocations: 0 / 0.5638 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.6207, allocations: 15.98 kB / 0.5638 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.6208, allocations: 4 kB / 0.5638 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.6208, allocations: 4.062 kB / 0.5638 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.6208, allocations: 3.984 kB / 0.5638 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6208, allocations: 0 / 0.5638 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.621, allocations: 170.2 kB / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.6211, allocations: 85 kB / 0.564 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.6211, allocations: 0 / 0.564 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.6213, allocations: 8 kB / 0.5641 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.6214, allocations: 11.23 kB / 0.5641 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.6214, allocations: 0 / 0.5641 GB, free: 10.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.6215, allocations: 112 kB / 0.5642 GB, free: 10.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6215, allocations: 0 / 0.5642 GB, free: 10.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003239/0.6218, allocations: 31.84 kB / 0.5642 GB, free: 10.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.622, allocations: 95.25 kB / 0.5643 GB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.6222, allocations: 45.31 kB / 0.5643 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6222, allocations: 0 / 0.5643 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.6222, allocations: 22.19 kB / 0.5644 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.6225, allocations: 16.55 kB / 0.5644 GB, free: 10.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.623, allocations: 167.8 kB / 0.5645 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.6233, allocations: 0.7118 MB / 0.5652 GB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.6234, allocations: 11.44 kB / 0.5652 GB, free: 9.367 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6234, allocations: 0 / 0.5652 GB, free: 9.367 MB / 378.7 MB Notification: Performance of Templates: time 0.003996/0.6274, allocations: 1.265 MB / 0.5665 GB, free: 8.121 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches