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.001082/0.001082, allocations: 111.7 kB / 18.46 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.001124/0.001124, allocations: 207.9 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 84.14 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3244, allocations: 62.43 MB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002843/0.3273, allocations: 1.926 MB / 0.5335 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.3283, allocations: 0.6043 MB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.3284, allocations: 2.5 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.3286, allocations: 40.28 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3287, allocations: 33.67 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.3288, allocations: 40.98 kB / 0.5342 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.329, allocations: 162.7 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3292, allocations: 60.45 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.3293, allocations: 62.25 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.3294, allocations: 63.61 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3294, allocations: 14.22 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.449e-05/0.3294, allocations: 14.03 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.3295, allocations: 31.78 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.3295, allocations: 70.44 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3297, allocations: 156.5 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3297, allocations: 4 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3297, allocations: 1.156 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3298, allocations: 0 / 0.5348 GB, free: 11.15 MB / 398.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.0006001/0.3304, allocations: 447.8 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3304, allocations: 8.375 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.3304, allocations: 17 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3307, allocations: 201.7 kB / 0.5355 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3307, allocations: 10.16 kB / 0.5355 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3307, allocations: 12.62 kB / 0.5355 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.331, allocations: 157.1 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3311, allocations: 3.984 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.3311, allocations: 5.375 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3311, allocations: 2.75 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.3314, allocations: 101.2 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.3323, allocations: 0.6126 MB / 0.5364 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.3325, allocations: 63.72 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.982e-05/0.3326, allocations: 30.41 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.3327, allocations: 0 / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.3327, allocations: 35.66 kB / 0.5365 GB, free: 9.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.3327, allocations: 0 / 0.5365 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003769/0.3331, allocations: 116 kB / 0.5366 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.3331, allocations: 51.41 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3333, allocations: 151.4 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.3333, allocations: 26.77 kB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.3334, allocations: 140 kB / 0.5369 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.3334, allocations: 26.14 kB / 0.537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.3334, allocations: 25.09 kB / 0.537 GB, free: 9.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3335, allocations: 320.1 kB / 0.5373 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3336, allocations: 28.95 kB / 0.5373 GB, free: 8.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3338, allocations: 62.86 kB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.334, allocations: 95.91 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.334, allocations: 0 / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002748/0.3343, allocations: 131.6 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3343, allocations: 5.688 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3343, allocations: 1.344 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3343, allocations: 1.188 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.3345, allocations: 32.52 kB / 0.5376 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.3345, allocations: 5.156 kB / 0.5376 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.703e-05/0.3346, allocations: 15.42 kB / 0.5377 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3346, allocations: 11.56 kB / 0.5377 GB, free: 8.578 MB / 398.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.134e-05/0.3347, allocations: 115.7 kB / 0.5378 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.3347, allocations: 19.06 kB / 0.5378 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.3348, allocations: 11.66 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.3348, allocations: 0 / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3348, allocations: 7.922 kB / 0.5378 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.3349, allocations: 91.97 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3349, allocations: 1.094 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.335, allocations: 11.27 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.335, allocations: 2.219 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002938/0.3353, allocations: 173.3 kB / 0.5381 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002879/0.3356, allocations: 256.8 kB / 0.5383 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.422e-05/0.3357, allocations: 30.41 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.3358, allocations: 117.9 kB / 0.5385 GB, free: 7.828 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.3358, allocations: 1.25 kB / 0.5385 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004087/0.3363, allocations: 115.4 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006257/0.3369, allocations: 0.7044 MB / 0.5393 GB, free: 7.078 MB / 398.1 MB Notification: Performance of Templates: time 0.003339/0.3402, allocations: 0.9471 MB / 0.5402 GB, free: 6.59 MB / 398.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/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