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.0009632/0.0009632, allocations: 96.08 kB / 17.35 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 205.5 kB / 18.28 MB, free: 5.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.128/1.128, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1614/0.1614, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002007/0.0002008, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08488, allocations: 63.55 MB / 483.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.001684/0.08659, allocations: 1.633 MB / 484.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.08731, allocations: 0.5844 MB / 485.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.08738, allocations: 4 kB / 485.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.08751, allocations: 31.83 kB / 485.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.469e-05/0.08761, allocations: 31.77 kB / 485.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.08773, allocations: 31.97 kB / 485.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.08787, allocations: 147.4 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.08799, allocations: 49.84 kB / 485.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.08807, allocations: 39.86 kB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.08814, allocations: 59.7 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.08816, allocations: 8 kB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.08819, allocations: 8 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.08821, allocations: 23.86 kB / 485.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.08828, allocations: 81.38 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.08843, allocations: 155.6 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.08844, allocations: 0 / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.08844, allocations: 7.938 kB / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.08845, allocations: 3.938 kB / 485.9 MB, free: 1.277 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.0004765/0.08893, allocations: 423.4 kB / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.08897, allocations: 8.875 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.08901, allocations: 16.75 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.08917, allocations: 216.1 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.08919, allocations: 8.656 kB / 486.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.08922, allocations: 12.38 kB / 486.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.0895, allocations: 148.1 kB / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.08952, allocations: 0 / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.08954, allocations: 8 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.08955, allocations: 4 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.08982, allocations: 116.8 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008504/0.09068, allocations: 0.6184 MB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.0909, allocations: 78.61 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.091, allocations: 36.97 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.09102, allocations: 0 / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.09105, allocations: 34.5 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.09106, allocations: 7.938 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003725/0.09144, allocations: 121.5 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.09147, allocations: 55.41 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.0916, allocations: 157.4 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.09162, allocations: 25.7 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.09169, allocations: 139.4 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.09171, allocations: 19.75 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.09174, allocations: 17.7 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.09184, allocations: 314.8 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/0.09194, allocations: 39.97 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.09207, allocations: 72.2 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.09229, allocations: 104.2 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.0923, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002726/0.09258, allocations: 141.5 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.0926, allocations: 4 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.0926, allocations: 0 / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.09262, allocations: 4 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.09274, allocations: 39.97 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.09276, allocations: 4 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.09285, allocations: 15.84 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.09286, allocations: 8 kB / 488.9 MB, free: 14.03 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.032e-05/0.09296, allocations: 121.8 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.09299, allocations: 11.84 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.09302, allocations: 12.31 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.09303, allocations: 3.938 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.09304, allocations: 11.94 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.09305, allocations: 0 / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.09323, allocations: 201.6 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.09324, allocations: 4 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.669e-05/0.09333, allocations: 23.98 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.09334, allocations: 3.938 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.09335, allocations: 0 / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.09335, allocations: 3.938 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.09336, allocations: 0 / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.09365, allocations: 191.4 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.0937, allocations: 89 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.09371, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.09381, allocations: 19.94 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.09384, allocations: 7.922 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.09385, allocations: 4 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.963e-05/0.09393, allocations: 110.1 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09393, allocations: 0 / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.09416, allocations: 31.83 kB / 489.8 MB, free: 13.11 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 6.73e-05/0.09423, allocations: 91.25 kB / 489.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.09448, allocations: 87.89 kB / 489.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.09449, allocations: 0 / 489.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.072e-05/0.09458, allocations: 32.23 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.09481, allocations: 8 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.09529, allocations: 346.2 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.09554, allocations: 0.7098 MB / 491 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.09558, allocations: 12.66 kB / 491 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.09561, allocations: 7.438 kB / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09562, allocations: 4 kB / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Templates: time 0.002269/0.09789, allocations: 0.6248 MB / 491.7 MB, free: 11.14 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches