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.001781/0.001781, allocations: 102.7 kB / 16.27 MB, free: 6.41 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.001555/0.001555, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.761/1.761, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2497/0.2497, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.002922/0.002922, allocations: 65.22 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1332, allocations: 57.79 MB / 440.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003022/0.1363, allocations: 1.869 MB / 442.4 MB, free: 5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1374, allocations: 0.6008 MB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1375, allocations: 0 / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.1377, allocations: 35.66 kB / 443 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.1378, allocations: 35.7 kB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.138, allocations: 43.94 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1382, allocations: 147.5 kB / 443.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1383, allocations: 77.64 kB / 443.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1385, allocations: 63.78 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.1386, allocations: 59.77 kB / 443.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.1386, allocations: 12 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.982e-05/0.1386, allocations: 16 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.1387, allocations: 35.8 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.1388, allocations: 67.66 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.139, allocations: 155.4 kB / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.139, allocations: 0 / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.139, allocations: 3.938 kB / 443.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.139, allocations: 0 / 443.7 MB, free: 3.648 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.0006084/0.1396, allocations: 447.2 kB / 444.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1397, allocations: 12.03 kB / 444.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.1397, allocations: 16.75 kB / 444.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1399, allocations: 200.1 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1399, allocations: 8.656 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.14, allocations: 16.38 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.1403, allocations: 144.1 kB / 444.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1403, allocations: 0 / 444.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.1403, allocations: 8 kB / 444.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1403, allocations: 4 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.1406, allocations: 108.1 kB / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009118/0.1415, allocations: 0.5986 MB / 445.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.1418, allocations: 70.56 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1419, allocations: 37 kB / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1419, allocations: 0 / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.142, allocations: 38.5 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.142, allocations: 0 / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004226/0.1424, allocations: 105.5 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1425, allocations: 55.41 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1426, allocations: 149.8 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1426, allocations: 29.7 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.1427, allocations: 135.5 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1427, allocations: 19.66 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.1428, allocations: 25.66 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.1428, allocations: 322.8 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.1429, allocations: 31.97 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1431, allocations: 64.2 kB / 446.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.1433, allocations: 92.2 kB / 446.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1433, allocations: 0 / 446.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002532/0.1435, allocations: 129.5 kB / 446.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1436, allocations: 4 kB / 446.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1436, allocations: 0 / 446.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.1436, allocations: 4.25 kB / 446.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1437, allocations: 35.98 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1438, allocations: 7.984 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.838e-05/0.1439, allocations: 15.84 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1439, allocations: 11.94 kB / 446.6 MB, free: 492 kB / 318.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.864e-05/0.144, allocations: 117.8 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.144, allocations: 15.83 kB / 446.8 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.144, allocations: 12.31 kB / 446.8 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1441, allocations: 7.938 kB / 446.8 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1441, allocations: 0 / 446.8 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1441, allocations: 0 / 446.8 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.1443, allocations: 209.6 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1443, allocations: 0 / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.1444, allocations: 15.98 kB / 447 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1444, allocations: 0 / 447 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1444, allocations: 4 kB / 447 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1444, allocations: 3.938 kB / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1444, allocations: 0 / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1448, allocations: 183.4 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.1448, allocations: 81.02 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1449, allocations: 4 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.145, allocations: 19.86 kB / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.145, allocations: 7.922 kB / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.145, allocations: 0 / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.304e-05/0.1451, allocations: 112.6 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1451, allocations: 0 / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1454, allocations: 31.84 kB / 447.4 MB, free: 15.58 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.0001251/0.1455, allocations: 91.25 kB / 447.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.1459, allocations: 75.88 kB / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1459, allocations: 0 / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.146, allocations: 32.23 kB / 447.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1464, allocations: 7.234 kB / 447.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.1471, allocations: 263.6 kB / 447.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.1475, allocations: 0.7054 MB / 448.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.002e-05/0.1475, allocations: 12.66 kB / 448.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.1476, allocations: 11.44 kB / 448.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1476, allocations: 0 / 448.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of Templates: time 0.003644/0.1512, allocations: 0.7161 MB / 449.3 MB, free: 13.62 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches