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.001229/0.001229, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 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.2425/0.2425, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 79.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4196, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003713/0.4233, allocations: 1.925 MB / 0.5329 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4244, allocations: 0.5997 MB / 0.5334 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-05/0.4245, allocations: 10.62 kB / 0.5334 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.4247, allocations: 35.97 kB / 0.5335 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.4248, allocations: 30.64 kB / 0.5335 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.425, allocations: 52 kB / 0.5336 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.4252, allocations: 151.4 kB / 0.5337 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.4254, allocations: 61.02 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.4255, allocations: 52.42 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.4256, allocations: 72.17 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4256, allocations: 13.75 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.552e-05/0.4257, allocations: 13.75 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.4257, allocations: 28.05 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.4259, allocations: 66.92 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.4261, allocations: 164.8 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4261, allocations: 0 / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4261, allocations: 1.375 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4261, allocations: 0 / 0.5342 GB, free: 11.11 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.00065/0.4268, allocations: 447.5 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4268, allocations: 9.625 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.4268, allocations: 15.62 kB / 0.5346 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.4271, allocations: 207 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4271, allocations: 10.16 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.4272, allocations: 16.47 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.4275, allocations: 144.4 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.4275, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.4275, allocations: 5.469 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4275, allocations: 2.812 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.4278, allocations: 113.3 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.4288, allocations: 0.6085 MB / 0.5357 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.4291, allocations: 67.23 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.4292, allocations: 35.06 kB / 0.5358 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4292, allocations: 7.922 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4293, allocations: 31.78 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.4293, allocations: 0 / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004059/0.4297, allocations: 107.5 kB / 0.5359 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.4297, allocations: 60.55 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4299, allocations: 151.1 kB / 0.5361 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.4299, allocations: 26.95 kB / 0.5361 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.43, allocations: 135.3 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.43, allocations: 17.78 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.4301, allocations: 28.83 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4302, allocations: 321.5 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.4303, allocations: 28.33 kB / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.4305, allocations: 67.73 kB / 0.5367 GB, free: 8.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.4307, allocations: 95.84 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4307, allocations: 0 / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002824/0.431, allocations: 126.1 kB / 0.5369 GB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.431, allocations: 6.375 kB / 0.5369 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.431, allocations: 5.359 kB / 0.5369 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.431, allocations: 1.406 kB / 0.5369 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4312, allocations: 32.36 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4312, allocations: 5.188 kB / 0.537 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/0.4313, allocations: 10.7 kB / 0.537 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.4313, allocations: 7.5 kB / 0.537 GB, free: 8.539 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 0.000104/0.4314, allocations: 120.4 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.4315, allocations: 12 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.4315, allocations: 14.94 kB / 0.5371 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4315, allocations: 7.938 kB / 0.5371 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.4315, allocations: 5.25 kB / 0.5371 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4315, allocations: 0 / 0.5371 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.4318, allocations: 210.6 kB / 0.5373 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4318, allocations: 0 / 0.5373 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.4319, allocations: 19.77 kB / 0.5374 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4319, allocations: 1.469 kB / 0.5374 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.4319, allocations: 0 / 0.5374 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.4319, allocations: 5.281 kB / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4319, allocations: 0 / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.4322, allocations: 182.2 kB / 0.5375 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.4323, allocations: 91.62 kB / 0.5376 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.4323, allocations: 9.344 kB / 0.5376 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.4324, allocations: 6.531 kB / 0.5376 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.4324, allocations: 6.516 kB / 0.5377 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4324, allocations: 1.469 kB / 0.5377 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.03e-05/0.4325, allocations: 119.4 kB / 0.5378 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4326, allocations: 0 / 0.5378 GB, free: 7.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.4328, allocations: 24.56 kB / 0.5378 GB, free: 7.758 MB / 398.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.0001068/0.4329, allocations: 90.28 kB / 0.5379 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.4332, allocations: 73.17 kB / 0.5379 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4332, allocations: 256 / 0.5379 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.4333, allocations: 29.3 kB / 0.538 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.4336, allocations: 15.3 kB / 0.538 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.4342, allocations: 256.4 kB / 0.5382 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.4344, allocations: 0.7107 MB / 0.5389 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.271e-05/0.4345, allocations: 3.859 kB / 0.5389 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.4345, allocations: 10.91 kB / 0.5389 GB, free: 6.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4345, allocations: 0 / 0.5389 GB, free: 6.707 MB / 398.1 MB Notification: Performance of Templates: time 0.003252/0.4378, allocations: 0.7312 MB / 0.5397 GB, free: 6.332 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/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