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.001255/0.001255, allocations: 109.1 kB / 17.09 MB, free: 6.004 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.001269/0.001269, allocations: 198.2 kB / 18.02 MB, free: 5.078 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.366/1.366, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2191/0.2191, allocations: 43.53 MB / 314.8 MB, free: 472 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.001509/0.001509, allocations: 63.84 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.00321/0.109, allocations: 1.876 MB / 0.4904 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1101, allocations: 0.6124 MB / 0.491 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.1102, allocations: 0 / 0.491 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.1104, allocations: 27.73 kB / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.1105, allocations: 35.7 kB / 0.491 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1107, allocations: 39.94 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1109, allocations: 163.4 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1111, allocations: 65.39 kB / 0.4913 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1112, allocations: 59.77 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.023e-05/0.1113, allocations: 67.7 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.1114, allocations: 12 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.393e-05/0.1114, allocations: 12 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.1114, allocations: 31.91 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.1115, allocations: 63.67 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1117, allocations: 159.5 kB / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1117, allocations: 7.984 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1117, allocations: 0 / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1117, allocations: 3.938 kB / 0.4917 GB, free: 8.582 MB / 382.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.0006556/0.1124, allocations: 439.2 kB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1125, allocations: 8.031 kB / 0.4921 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.1125, allocations: 16.75 kB / 0.4921 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1128, allocations: 200.1 kB / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1128, allocations: 16.59 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1128, allocations: 12.38 kB / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.1132, allocations: 144.1 kB / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1132, allocations: 0 / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1132, allocations: 8 kB / 0.4925 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1132, allocations: 3.938 kB / 0.4925 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.1135, allocations: 104.2 kB / 0.4926 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009166/0.1144, allocations: 0.6064 MB / 0.4932 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1147, allocations: 66.58 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-05/0.1148, allocations: 36.94 kB / 0.4933 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1148, allocations: 4 kB / 0.4933 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1148, allocations: 34.5 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1148, allocations: 0 / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003484/0.1152, allocations: 109.5 kB / 0.4934 GB, free: 6.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.1152, allocations: 55.41 kB / 0.4935 GB, free: 6.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1153, allocations: 157.7 kB / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1154, allocations: 25.7 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.1154, allocations: 131.5 kB / 0.4938 GB, free: 6.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.1155, allocations: 19.7 kB / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.1155, allocations: 21.72 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.1156, allocations: 322.8 kB / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/0.1157, allocations: 27.98 kB / 0.4941 GB, free: 5.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1158, allocations: 68.2 kB / 0.4942 GB, free: 5.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.116, allocations: 96.19 kB / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.116, allocations: 0 / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002682/0.1163, allocations: 125.5 kB / 0.4944 GB, free: 5.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1163, allocations: 4 kB / 0.4944 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1164, allocations: 4 kB / 0.4944 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1164, allocations: 0 / 0.4944 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1165, allocations: 32.05 kB / 0.4945 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.1165, allocations: 7.938 kB / 0.4945 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.613e-05/0.1166, allocations: 15.83 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1166, allocations: 4 kB / 0.4945 GB, free: 5.434 MB / 382.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.89e-05/0.1167, allocations: 125.8 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1168, allocations: 11.84 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.1168, allocations: 12.3 kB / 0.4946 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1168, allocations: 7.922 kB / 0.4946 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1168, allocations: 7.938 kB / 0.4946 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1169, allocations: 89.02 kB / 0.4947 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1169, allocations: 0 / 0.4947 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.117, allocations: 7.984 kB / 0.4947 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.117, allocations: 4 kB / 0.4947 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002786/0.1173, allocations: 168.9 kB / 0.4949 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002651/0.1176, allocations: 270.6 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.783e-05/0.1177, allocations: 24.36 kB / 0.4952 GB, free: 4.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.879e-05/0.1178, allocations: 119.9 kB / 0.4953 GB, free: 4.547 MB / 382.1 MB Notification: Performance of Backend: time 6.71e-07/0.1178, allocations: 0 / 0.4953 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.1182, allocations: 121 kB / 0.4954 GB, free: 4.426 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006287/0.1188, allocations: 0.7075 MB / 0.4961 GB, free: 3.664 MB / 382.1 MB Notification: Performance of Templates: time 0.003567/0.1224, allocations: 0.9569 MB / 0.497 GB, free: 2.711 MB / 382.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 -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