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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 107.1 kB / 18.39 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 184.1 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2103/0.2103, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 66.86 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1088, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003052/0.1119, allocations: 1.898 MB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.1127, allocations: 0.5649 MB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.1128, allocations: 4 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.113, allocations: 31.73 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1131, allocations: 31.7 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.1133, allocations: 47.88 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1135, allocations: 155.4 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1137, allocations: 69.44 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1138, allocations: 59.83 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.1139, allocations: 63.7 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.1139, allocations: 12 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.225e-05/0.1139, allocations: 16 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.114, allocations: 35.84 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.1141, allocations: 59.67 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1142, allocations: 163.2 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1142, allocations: 4 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1143, allocations: 11.92 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1143, allocations: 0 / 473.9 MB, free: 10.4 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.0005837/0.1149, allocations: 439.3 kB / 474.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1149, allocations: 8.031 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.1149, allocations: 16.75 kB / 474.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1152, allocations: 204.1 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1152, allocations: 16.66 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1152, allocations: 12.38 kB / 474.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1155, allocations: 140.1 kB / 474.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.1155, allocations: 0 / 474.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1155, allocations: 4 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.1155, allocations: 4 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.1158, allocations: 100.8 kB / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000896/0.1167, allocations: 0.6066 MB / 475.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.1169, allocations: 66.58 kB / 475.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.117, allocations: 40.94 kB / 475.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1171, allocations: 0 / 475.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1171, allocations: 30.56 kB / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1171, allocations: 0 / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000351/0.1175, allocations: 113.5 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1175, allocations: 51.41 kB / 475.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1176, allocations: 157.7 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1176, allocations: 25.7 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.1177, allocations: 135.4 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.1177, allocations: 23.73 kB / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.1178, allocations: 21.72 kB / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1179, allocations: 318.8 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.118, allocations: 31.92 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1181, allocations: 64.27 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.1183, allocations: 100.1 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1184, allocations: 0 / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002624/0.1186, allocations: 125.4 kB / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1186, allocations: 8 kB / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1187, allocations: 256 / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1187, allocations: 4 kB / 476.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1188, allocations: 36.05 kB / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1188, allocations: 0 / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.1e-05/0.1189, allocations: 19.83 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1189, allocations: 11.94 kB / 476.8 MB, free: 7.242 MB / 350.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 8.81e-05/0.119, allocations: 117.8 kB / 476.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1191, allocations: 7.906 kB / 476.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.1191, allocations: 16.3 kB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1191, allocations: 3.938 kB / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1191, allocations: 4 kB / 476.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1191, allocations: 0 / 476.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.1193, allocations: 209.6 kB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1193, allocations: 0 / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.1194, allocations: 15.98 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1194, allocations: 4 kB / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1195, allocations: 4 kB / 477.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1195, allocations: 7.922 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1195, allocations: 0 / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1197, allocations: 187.4 kB / 477.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.1198, allocations: 81.02 kB / 477.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1198, allocations: 4 kB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.1199, allocations: 11.92 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1199, allocations: 4 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.12, allocations: 0 / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.682e-05/0.12, allocations: 116.8 kB / 477.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1201, allocations: 4 kB / 477.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1203, allocations: 27.84 kB / 477.6 MB, free: 6.344 MB / 350.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 8.352e-05/0.1204, allocations: 91.25 kB / 477.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.1207, allocations: 67.89 kB / 477.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1207, allocations: 0 / 477.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.592e-05/0.1208, allocations: 40.22 kB / 477.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.121, allocations: 7.938 kB / 477.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.1215, allocations: 259.5 kB / 478.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1218, allocations: 0.7119 MB / 478.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.126e-05/0.1218, allocations: 4.672 kB / 478.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.1219, allocations: 11.44 kB / 478.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1219, allocations: 0 / 478.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of Templates: time 0.002807/0.1247, allocations: 0.7111 MB / 479.5 MB, free: 4.391 MB / 350.1 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 -s gbode -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/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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches