Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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 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 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 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.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_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_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001546/0.001546, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2526/0.2526, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 69.23 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003439/0.1073, allocations: 1.872 MB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.1083, allocations: 0.6085 MB / 444.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1085, allocations: 4 kB / 444.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1087, allocations: 23.8 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.1089, allocations: 31.7 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1091, allocations: 47.88 kB / 444.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1092, allocations: 147.5 kB / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1094, allocations: 73.38 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1096, allocations: 63.72 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.003e-05/0.1097, allocations: 67.69 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.1097, allocations: 16 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.321e-05/0.1098, allocations: 12 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.1098, allocations: 31.91 kB / 445 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.1099, allocations: 63.67 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1101, allocations: 159.5 kB / 445.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1101, allocations: 0 / 445.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1101, allocations: 3.938 kB / 445.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1101, allocations: 7.984 kB / 445.2 MB, free: 2.926 MB / 318.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.0006451/0.1108, allocations: 439.2 kB / 445.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1108, allocations: 8.031 kB / 445.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.1109, allocations: 16.75 kB / 445.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.1112, allocations: 204.1 kB / 445.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1112, allocations: 8.656 kB / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1112, allocations: 24.31 kB / 445.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.1115, allocations: 140.1 kB / 446 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1116, allocations: 0 / 446 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1116, allocations: 4 kB / 446 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1116, allocations: 4 kB / 446 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.1118, allocations: 108.1 kB / 446.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.1127, allocations: 0.5987 MB / 446.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1129, allocations: 74.52 kB / 446.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.113, allocations: 29 kB / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.113, allocations: 0 / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.113, allocations: 38.56 kB / 446.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.113, allocations: 3.984 kB / 446.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003614/0.1134, allocations: 105.5 kB / 447 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.1134, allocations: 55.34 kB / 447 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.1135, allocations: 153.8 kB / 447.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.1136, allocations: 25.7 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.1136, allocations: 139.5 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.1136, allocations: 23.64 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1137, allocations: 21.72 kB / 447.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.1137, allocations: 322.8 kB / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.1138, allocations: 27.98 kB / 447.7 MB, free: 164 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.243e-05/0.1139, allocations: 68.2 kB / 447.8 MB, free: 80 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1141, allocations: 92.5 kB / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1142, allocations: 4 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002639/0.1144, allocations: 133.4 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1144, allocations: 5.25 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1145, allocations: 4 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1145, allocations: 0 / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1146, allocations: 27.92 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1146, allocations: 7.938 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.1147, allocations: 19.95 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1147, allocations: 8 kB / 448.1 MB, free: 15.76 MB / 334.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.797e-05/0.1148, allocations: 121.7 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1149, allocations: 7.906 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.1149, allocations: 16.3 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1149, allocations: 7.875 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1149, allocations: 0 / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.115, allocations: 4 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1152, allocations: 209.5 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1152, allocations: 0 / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.1153, allocations: 15.98 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1153, allocations: 0 / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.1153, allocations: 4 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1153, allocations: 7.922 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1153, allocations: 0 / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1156, allocations: 187.4 kB / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.1157, allocations: 85.02 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1157, allocations: 0 / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.1158, allocations: 15.92 kB / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1159, allocations: 0 / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1159, allocations: 4 kB / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.116, allocations: 108.6 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.116, allocations: 0 / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1162, allocations: 31.84 kB / 448.9 MB, free: 14.86 MB / 334.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.0001084/0.1164, allocations: 95.25 kB / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1166, allocations: 67.89 kB / 449 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1167, allocations: 0 / 449 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.451e-05/0.1168, allocations: 39.91 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.117, allocations: 448 / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.1176, allocations: 263.7 kB / 449.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1178, allocations: 0.7093 MB / 450 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.964e-05/0.1179, allocations: 8.672 kB / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.1179, allocations: 11.44 kB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1179, allocations: 3.938 kB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of Templates: time 0.003256/0.1212, allocations: 0.7104 MB / 450.8 MB, free: 12.9 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches