Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008391/0.000839, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009801/0.0009803, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1947/0.1947, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 8.375 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 63.56 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002377/0.1189, allocations: 1.637 MB / 485.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.12, allocations: 0.5806 MB / 485.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1201, allocations: 4 kB / 486 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1203, allocations: 35.72 kB / 486 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1204, allocations: 23.83 kB / 486 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.1206, allocations: 39.91 kB / 486 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1208, allocations: 135.5 kB / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1209, allocations: 61.83 kB / 486.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.121, allocations: 43.86 kB / 486.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.1211, allocations: 59.7 kB / 486.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.1212, allocations: 8 kB / 486.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.1212, allocations: 4 kB / 486.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.1212, allocations: 23.86 kB / 486.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.846e-05/0.1213, allocations: 89.36 kB / 486.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1214, allocations: 119.9 kB / 486.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1215, allocations: 0 / 486.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1215, allocations: 4 kB / 486.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1215, allocations: 0 / 486.6 MB, free: 1.289 MB / 350.1 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.0005712/0.1221, allocations: 427.4 kB / 487 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1221, allocations: 8.875 kB / 487 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.1221, allocations: 16.75 kB / 487 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1224, allocations: 200.1 kB / 487.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1224, allocations: 12.66 kB / 487.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1224, allocations: 12.38 kB / 487.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.1227, allocations: 152.1 kB / 487.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1228, allocations: 0 / 487.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1228, allocations: 4 kB / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1228, allocations: 4 kB / 487.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1231, allocations: 120.8 kB / 487.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.1241, allocations: 0.6223 MB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.1243, allocations: 74.61 kB / 488.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1245, allocations: 40.91 kB / 488.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1245, allocations: 0 / 488.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1245, allocations: 34.56 kB / 488.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1245, allocations: 0 / 488.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004335/0.125, allocations: 129.5 kB / 488.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.125, allocations: 51.41 kB / 488.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1251, allocations: 154.4 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1252, allocations: 25.7 kB / 488.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.1253, allocations: 139.4 kB / 488.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1253, allocations: 19.75 kB / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.1253, allocations: 17.7 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1254, allocations: 318.8 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1255, allocations: 35.97 kB / 489.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1257, allocations: 68.27 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.1259, allocations: 120 kB / 489.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1259, allocations: 4 kB / 489.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003074/0.1263, allocations: 129.6 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1263, allocations: 8 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1263, allocations: 0 / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1263, allocations: 4 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1265, allocations: 35.84 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1265, allocations: 4 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1266, allocations: 19.88 kB / 489.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1266, allocations: 4.25 kB / 489.6 MB, free: 14.04 MB / 366.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.381e-05/0.1267, allocations: 121.8 kB / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1267, allocations: 7.906 kB / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.1268, allocations: 12.31 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1268, allocations: 7.938 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1268, allocations: 0 / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1268, allocations: 0 / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.127, allocations: 213.5 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.127, allocations: 4 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.1271, allocations: 19.92 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.1271, allocations: 0 / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1271, allocations: 8 kB / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1272, allocations: 3.938 kB / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1272, allocations: 0 / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.1275, allocations: 191.4 kB / 490.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1275, allocations: 85.02 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.1276, allocations: 3.984 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.1277, allocations: 7.938 kB / 490.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.1278, allocations: 11.98 kB / 490.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1278, allocations: 4 kB / 490.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1279, allocations: 110.6 kB / 490.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1279, allocations: 0 / 490.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.1284, allocations: 31.84 kB / 490.4 MB, free: 13.12 MB / 366.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001045/0.1285, allocations: 99.17 kB / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.1288, allocations: 83.95 kB / 490.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1288, allocations: 0 / 490.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1289, allocations: 31.98 kB / 490.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1292, allocations: 7.25 kB / 490.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.1297, allocations: 375.9 kB / 491 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.13, allocations: 0.7098 MB / 491.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.13, allocations: 15.38 kB / 491.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.13, allocations: 0 / 491.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of Templates: time 0.002717/0.1327, allocations: 1.254 MB / 492.9 MB, free: 10.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches