Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.5 MB / 230.7 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009718/0.0009715, allocations: 88.44 kB / 281.6 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1823/0.1823, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.462e-05/1.465e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1201, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3922/0.5123, allocations: 88.19 MB / 0.5808 GB, free: 8.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.5126, allocations: 74.17 kB / 0.5809 GB, free: 8.281 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007597/0.5202, allocations: 2.9 MB / 0.5837 GB, free: 5.387 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5203, allocations: 0 / 0.5837 GB, free: 5.387 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.5203, allocations: 4 kB / 0.5837 GB, free: 5.383 MB / 394.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.0005306/0.5208, allocations: 410.4 kB / 0.5841 GB, free: 4.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5209, allocations: 11.98 kB / 0.5841 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.5209, allocations: 15.81 kB / 0.5841 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.5212, allocations: 211 kB / 0.5843 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.5212, allocations: 4 kB / 0.5843 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.5212, allocations: 8 kB / 0.5843 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00018/0.5214, allocations: 68.52 kB / 0.5844 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.5217, allocations: 107.6 kB / 0.5845 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5217, allocations: 0 / 0.5845 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.5217, allocations: 1.219 kB / 0.5845 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.5217, allocations: 6.953 kB / 0.5845 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/0.5225, allocations: 0.5192 MB / 0.585 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.5227, allocations: 50.59 kB / 0.5851 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.5227, allocations: 20.98 kB / 0.5851 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.5227, allocations: 0 / 0.5851 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.5228, allocations: 30.56 kB / 0.5851 GB, free: 3.773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/0.5228, allocations: 0 / 0.5851 GB, free: 3.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001722/0.523, allocations: 65.58 kB / 0.5852 GB, free: 3.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.523, allocations: 55.41 kB / 0.5852 GB, free: 3.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.5231, allocations: 119.5 kB / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.5231, allocations: 25.7 kB / 0.5854 GB, free: 3.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.5232, allocations: 143.4 kB / 0.5855 GB, free: 3.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.5232, allocations: 23.69 kB / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-06/0.5232, allocations: 0 / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.5233, allocations: 326.8 kB / 0.5858 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.5234, allocations: 12 kB / 0.5858 GB, free: 2.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-05/0.5234, allocations: 44.3 kB / 0.5859 GB, free: 2.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/0.5235, allocations: 27.92 kB / 0.5859 GB, free: 2.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5235, allocations: 4 kB / 0.5859 GB, free: 2.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001278/0.5236, allocations: 93.5 kB / 0.586 GB, free: 2.785 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5236, allocations: 4 kB / 0.586 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5237, allocations: 0 / 0.586 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5237, allocations: 7.938 kB / 0.586 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.5238, allocations: 36.09 kB / 0.5861 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5238, allocations: 3.938 kB / 0.5861 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.5239, allocations: 11.94 kB / 0.5861 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.524, allocations: 4 kB / 0.5861 GB, free: 2.719 MB / 394.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 6.76e-05/0.524, allocations: 104.9 kB / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.5241, allocations: 11.89 kB / 0.5862 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.5241, allocations: 16.41 kB / 0.5862 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5241, allocations: 0 / 0.5862 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5241, allocations: 64 / 0.5862 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5241, allocations: 4 kB / 0.5862 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.5243, allocations: 178.1 kB / 0.5864 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5243, allocations: 0 / 0.5864 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.5244, allocations: 23.94 kB / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5244, allocations: 0 / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.5244, allocations: 0 / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5245, allocations: 0 / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5245, allocations: 4 kB / 0.5864 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.5246, allocations: 159.4 kB / 0.5866 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.5246, allocations: 81.11 kB / 0.5866 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.5247, allocations: 3.953 kB / 0.5866 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.5248, allocations: 11.98 kB / 0.5866 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.5248, allocations: 0 / 0.5866 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5248, allocations: 3.984 kB / 0.5867 GB, free: 2.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.5249, allocations: 105 kB / 0.5868 GB, free: 1.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5249, allocations: 0 / 0.5868 GB, free: 1.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.5251, allocations: 27.84 kB / 0.5868 GB, free: 1.918 MB / 394.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.0001237/0.5253, allocations: 107.2 kB / 0.5869 GB, free: 1.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.5254, allocations: 35.94 kB / 0.5869 GB, free: 1.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5254, allocations: 256 / 0.5869 GB, free: 1.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.5254, allocations: 24 kB / 0.5869 GB, free: 1.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.5256, allocations: 11.88 kB / 0.5869 GB, free: 1.734 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.5259, allocations: 140.6 kB / 0.5871 GB, free: 1.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.5262, allocations: 0.7041 MB / 0.5878 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.365e-05/0.5262, allocations: 15.89 kB / 0.5878 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.5263, allocations: 11.44 kB / 0.5878 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5263, allocations: 0 / 0.5878 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of Templates: time 0.002538/0.5288, allocations: 0.6026 MB / 0.5884 GB, free: 224 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches