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.0011/0.0011, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.3 MB / 236 MB, free: 2.945 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.00086/0.0008601, allocations: 101.9 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1723/0.1723, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.605e-05, allocations: 0 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3971/0.5154, allocations: 88.85 MB / 0.5885 GB, free: 484 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5157, allocations: 72.72 kB / 0.5885 GB, free: 412 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007461/0.5232, allocations: 2.926 MB / 0.5914 GB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5232, allocations: 0 / 0.5914 GB, free: 13.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.5232, allocations: 4 kB / 0.5914 GB, free: 13.48 MB / 410.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.0004975/0.5237, allocations: 419.3 kB / 0.5918 GB, free: 13.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5238, allocations: 8.031 kB / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.5238, allocations: 15.81 kB / 0.5918 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.524, allocations: 203.1 kB / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.524, allocations: 8.281 kB / 0.592 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.5241, allocations: 16 kB / 0.592 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.5243, allocations: 123.8 kB / 0.5922 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5243, allocations: 4 kB / 0.5922 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.5243, allocations: 8 kB / 0.5922 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5244, allocations: 8 kB / 0.5922 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.5245, allocations: 76.84 kB / 0.5922 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.5253, allocations: 0.5568 MB / 0.5928 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.5254, allocations: 62.52 kB / 0.5929 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.5255, allocations: 16.98 kB / 0.5929 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.5255, allocations: 4 kB / 0.5929 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.5255, allocations: 30.56 kB / 0.5929 GB, free: 11.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.5255, allocations: 4 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001609/0.5257, allocations: 61.64 kB / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.5258, allocations: 51.41 kB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.5259, allocations: 144.2 kB / 0.5931 GB, free: 11.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5259, allocations: 25.7 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.526, allocations: 139.4 kB / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.526, allocations: 19.73 kB / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.526, allocations: 4 kB / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.5261, allocations: 322.8 kB / 0.5936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.5262, allocations: 19.94 kB / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.5262, allocations: 52.28 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/0.5263, allocations: 20 kB / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.5263, allocations: 0 / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001536/0.5264, allocations: 117.4 kB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5265, allocations: 13.34 kB / 0.5938 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5265, allocations: 0 / 0.5938 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.5265, allocations: 0 / 0.5938 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5266, allocations: 27.98 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5266, allocations: 0 / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.5267, allocations: 27.95 kB / 0.5939 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.5268, allocations: 4 kB / 0.5939 GB, free: 10.66 MB / 410.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 5.928e-05/0.5268, allocations: 112.9 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.5269, allocations: 7.906 kB / 0.594 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.5269, allocations: 12.09 kB / 0.594 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5269, allocations: 0 / 0.594 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5269, allocations: 3.984 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5269, allocations: 0 / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.5271, allocations: 205.6 kB / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5271, allocations: 4 kB / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/0.5272, allocations: 19.98 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.5272, allocations: 0 / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.5272, allocations: 64 / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.5272, allocations: 4 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5273, allocations: 0 / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.5274, allocations: 167.4 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.5274, allocations: 96.95 kB / 0.5945 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.5275, allocations: 4 kB / 0.5945 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.5276, allocations: 4 kB / 0.5945 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.5276, allocations: 7.984 kB / 0.5945 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.5277, allocations: 0 / 0.5945 GB, free: 9.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.835e-05/0.5277, allocations: 115.2 kB / 0.5946 GB, free: 9.828 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5277, allocations: 0 / 0.5946 GB, free: 9.828 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.528, allocations: 27.84 kB / 0.5947 GB, free: 9.801 MB / 410.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 9.523e-05/0.5281, allocations: 99.25 kB / 0.5948 GB, free: 9.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.5282, allocations: 47.94 kB / 0.5948 GB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5282, allocations: 0 / 0.5948 GB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.5282, allocations: 23.94 kB / 0.5948 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.5284, allocations: 0 / 0.5948 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.5287, allocations: 143.4 kB / 0.595 GB, free: 9.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.529, allocations: 0.708 MB / 0.5957 GB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.529, allocations: 8.656 kB / 0.5957 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.529, allocations: 11.44 kB / 0.5957 GB, free: 8.707 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5291, allocations: 7.938 kB / 0.5957 GB, free: 8.699 MB / 410.7 MB Notification: Performance of Templates: time 0.002736/0.5318, allocations: 0.7144 MB / 0.5964 GB, free: 7.992 MB / 410.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