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.001328/0.001328, allocations: 107.1 kB / 16.41 MB, free: 6.465 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.001583/0.001583, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.755/1.755, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2351/0.2351, allocations: 43.53 MB / 314.1 MB, free: 440 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.001482/0.001482, allocations: 74 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.131, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003496/0.1345, allocations: 1.873 MB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1358, allocations: 0.6201 MB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.136, allocations: 4 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1363, allocations: 27.73 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1365, allocations: 27.77 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1368, allocations: 51.88 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.1371, allocations: 151.5 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1372, allocations: 61.44 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1374, allocations: 59.73 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1375, allocations: 67.69 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.1376, allocations: 12 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.471e-05/0.1376, allocations: 16 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.1377, allocations: 31.91 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.885e-05/0.1378, allocations: 67.67 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.138, allocations: 159.3 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.138, allocations: 0 / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.138, allocations: 4 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1381, allocations: 0 / 0.491 GB, free: 8.555 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.0006996/0.1388, allocations: 443.2 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1388, allocations: 8.031 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1389, allocations: 16.84 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1391, allocations: 200.1 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1391, allocations: 16.66 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1392, allocations: 16.36 kB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.1395, allocations: 140.1 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1395, allocations: 0 / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1395, allocations: 7.938 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1395, allocations: 4 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.1398, allocations: 112.1 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009751/0.1408, allocations: 0.5988 MB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1411, allocations: 70.52 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/0.1412, allocations: 29 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1412, allocations: 4 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.1412, allocations: 38.56 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1413, allocations: 0 / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003965/0.1417, allocations: 117.5 kB / 0.4928 GB, free: 6.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1417, allocations: 51.41 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1419, allocations: 161.6 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1419, allocations: 29.7 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.142, allocations: 135.7 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.142, allocations: 11.91 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.142, allocations: 29.67 kB / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1422, allocations: 322.8 kB / 0.4935 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1423, allocations: 27.97 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1424, allocations: 60.27 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.1426, allocations: 92.2 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1426, allocations: 0 / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002858/0.1429, allocations: 129.5 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1429, allocations: 4 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.143, allocations: 0 / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.143, allocations: 4 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1431, allocations: 27.92 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1431, allocations: 12.05 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.1432, allocations: 19.89 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1432, allocations: 4 kB / 0.4938 GB, free: 5.391 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 9.211e-05/0.1433, allocations: 125.7 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1434, allocations: 7.953 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.1434, allocations: 16.3 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1434, allocations: 3.938 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1434, allocations: 0 / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1434, allocations: 4 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.1437, allocations: 209.6 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1437, allocations: 0 / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.1438, allocations: 15.98 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1438, allocations: 0 / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1438, allocations: 0 / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1438, allocations: 3.938 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1438, allocations: 0 / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.1441, allocations: 187.7 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.1441, allocations: 93.05 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1442, allocations: 0 / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.1443, allocations: 15.92 kB / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.1443, allocations: 0 / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1443, allocations: 4 kB / 0.4945 GB, free: 4.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.1444, allocations: 115.9 kB / 0.4946 GB, free: 4.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1444, allocations: 0 / 0.4946 GB, free: 4.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1447, allocations: 31.89 kB / 0.4946 GB, free: 4.477 MB / 382.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.000105/0.1448, allocations: 99.19 kB / 0.4947 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1451, allocations: 71.88 kB / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1451, allocations: 0 / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.1452, allocations: 36.16 kB / 0.4948 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1455, allocations: 8 kB / 0.4948 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.146, allocations: 271.2 kB / 0.4951 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1464, allocations: 0.7079 MB / 0.4958 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.536e-05/0.1465, allocations: 4.672 kB / 0.4958 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.1465, allocations: 15.42 kB / 0.4958 GB, free: 3.207 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1465, allocations: 0 / 0.4958 GB, free: 3.207 MB / 382.1 MB Notification: Performance of Templates: time 0.003546/0.1501, allocations: 0.7143 MB / 0.4965 GB, free: 2.496 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/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