Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001188, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 75.09 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003731/0.1316, allocations: 1.934 MB / 483.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1327, allocations: 0.592 MB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.1328, allocations: 4 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.133, allocations: 39.7 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.1332, allocations: 39.7 kB / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.1333, allocations: 35.95 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1336, allocations: 155.4 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1337, allocations: 61.52 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.1338, allocations: 51.84 kB / 484.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.1339, allocations: 63.7 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.1339, allocations: 16 kB / 484.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.134, allocations: 15.94 kB / 484.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.134, allocations: 35.86 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.1341, allocations: 71.66 kB / 484.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1343, allocations: 163.4 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1343, allocations: 0 / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1343, allocations: 0 / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1343, allocations: 0 / 484.7 MB, free: 1.258 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.0006493/0.135, allocations: 439.3 kB / 485.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.135, allocations: 16.03 kB / 485.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.1351, allocations: 16.73 kB / 485.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1353, allocations: 200.1 kB / 485.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1353, allocations: 8.656 kB / 485.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1354, allocations: 16.38 kB / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.1357, allocations: 145 kB / 485.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1357, allocations: 0 / 485.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1357, allocations: 8 kB / 485.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1357, allocations: 4 kB / 485.6 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.136, allocations: 108.8 kB / 485.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009778/0.137, allocations: 0.6066 MB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.1373, allocations: 74.5 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.1374, allocations: 32.97 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1374, allocations: 3.938 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1374, allocations: 30.56 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1374, allocations: 0 / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003905/0.1378, allocations: 117.5 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1379, allocations: 51.41 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.138, allocations: 146.4 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.138, allocations: 29.7 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.1381, allocations: 135.5 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1382, allocations: 19.73 kB / 486.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.1382, allocations: 29.56 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1384, allocations: 322.8 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-05/0.1385, allocations: 31.98 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1386, allocations: 60.2 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.1388, allocations: 104.1 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1388, allocations: 256 / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002695/0.1391, allocations: 129.4 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1391, allocations: 4.125 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1391, allocations: 8 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1392, allocations: 4 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1393, allocations: 27.92 kB / 487.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1393, allocations: 0 / 487.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.1394, allocations: 15.92 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1394, allocations: 8 kB / 487.6 MB, free: 14.07 MB / 366.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.954e-05/0.1395, allocations: 117.8 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.1396, allocations: 11.91 kB / 487.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.1396, allocations: 12.31 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.1396, allocations: 3.938 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.1397, allocations: 7.922 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1397, allocations: 0 / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1399, allocations: 209.5 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1399, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.14, allocations: 19.98 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.14, allocations: 0 / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.14, allocations: 0 / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.14, allocations: 3.938 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.14, allocations: 4 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.1403, allocations: 187.3 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.1403, allocations: 85.02 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1404, allocations: 0 / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.1405, allocations: 15.92 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1405, allocations: 4 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1405, allocations: 4 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.976e-05/0.1406, allocations: 122.8 kB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1406, allocations: 0 / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1409, allocations: 27.84 kB / 488.4 MB, free: 13.16 MB / 366.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.0001093/0.141, allocations: 87.25 kB / 488.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1413, allocations: 79.95 kB / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1413, allocations: 0 / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.1414, allocations: 27.97 kB / 488.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.1416, allocations: 11.94 kB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.1422, allocations: 264 kB / 488.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1425, allocations: 0.7121 MB / 489.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.053e-05/0.1425, allocations: 4.656 kB / 489.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.1426, allocations: 11.44 kB / 489.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1426, allocations: 0 / 489.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of Templates: time 0.003146/0.1457, allocations: 0.7122 MB / 490.3 MB, free: 11.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches