Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001527/0.001527, allocations: 183.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2439/0.2439, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4175, allocations: 60.83 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00334/0.4209, allocations: 1.909 MB / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.4218, allocations: 0.5626 MB / 0.5213 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.4219, allocations: 2.406 kB / 0.5213 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.4222, allocations: 37.64 kB / 0.5213 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.4223, allocations: 33.59 kB / 0.5214 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.4225, allocations: 38.42 kB / 0.5214 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.4227, allocations: 152.4 kB / 0.5216 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.4229, allocations: 62.11 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.4231, allocations: 62.64 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.4232, allocations: 64.47 kB / 0.5217 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.4233, allocations: 13.19 kB / 0.5217 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.4233, allocations: 13.91 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.4234, allocations: 29.22 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.016e-05/0.4235, allocations: 77.38 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.4237, allocations: 153.7 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4237, allocations: 4 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4238, allocations: 0 / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.4238, allocations: 0 / 0.522 GB, free: 1.504 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.0007195/0.4245, allocations: 444.5 kB / 0.5224 GB, free: 1.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4246, allocations: 10.06 kB / 0.5224 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.4246, allocations: 23.28 kB / 0.5225 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.4249, allocations: 197.2 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4249, allocations: 14.41 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.4249, allocations: 13.52 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.4253, allocations: 143.6 kB / 0.5228 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4253, allocations: 5.375 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.4254, allocations: 5.859 kB / 0.5228 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4254, allocations: 2.469 kB / 0.5228 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.4257, allocations: 102.7 kB / 0.5229 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.4268, allocations: 0.615 MB / 0.5235 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.4271, allocations: 63.84 kB / 0.5236 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.4272, allocations: 32.59 kB / 0.5236 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.4272, allocations: 4 kB / 0.5236 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.4272, allocations: 33.03 kB / 0.5237 GB, free: 156 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.4272, allocations: 0 / 0.5237 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004079/0.4276, allocations: 111.6 kB / 0.5238 GB, free: 100 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.4277, allocations: 53.61 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.4278, allocations: 161.5 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.4279, allocations: 26.36 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.428, allocations: 134.2 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.428, allocations: 11.81 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.428, allocations: 26.55 kB / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4282, allocations: 320.9 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.4283, allocations: 25.45 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4284, allocations: 76.47 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.4287, allocations: 93.11 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4287, allocations: 1.344 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002985/0.429, allocations: 121.2 kB / 0.5248 GB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.429, allocations: 5.562 kB / 0.5248 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.429, allocations: 1.828 kB / 0.5248 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.429, allocations: 2.156 kB / 0.5248 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4292, allocations: 36.17 kB / 0.5248 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.4292, allocations: 6.766 kB / 0.5248 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.977e-05/0.4293, allocations: 17.36 kB / 0.5248 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.4293, allocations: 2.781 kB / 0.5248 GB, free: 15.2 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.000105/0.4294, allocations: 120.1 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.4295, allocations: 8.703 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.4295, allocations: 11.97 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4295, allocations: 5.25 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4295, allocations: 0.9531 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4295, allocations: 5.531 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.4298, allocations: 207.8 kB / 0.5252 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4298, allocations: 3.938 kB / 0.5252 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.4299, allocations: 15.95 kB / 0.5252 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4299, allocations: 1.094 kB / 0.5252 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4299, allocations: 0.75 kB / 0.5252 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.4299, allocations: 9.125 kB / 0.5252 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4299, allocations: 0 / 0.5252 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.4302, allocations: 187.8 kB / 0.5254 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.4303, allocations: 88.84 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.4303, allocations: 0 / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.4304, allocations: 10.23 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.4305, allocations: 4.297 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4305, allocations: 2.031 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.886e-05/0.4306, allocations: 115.7 kB / 0.5256 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4306, allocations: 4 kB / 0.5256 GB, free: 14.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.4308, allocations: 26.28 kB / 0.5256 GB, free: 14.47 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.0001051/0.4309, allocations: 96.92 kB / 0.5257 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.4313, allocations: 74.34 kB / 0.5258 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4313, allocations: 0 / 0.5258 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4314, allocations: 35.03 kB / 0.5258 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4317, allocations: 8.406 kB / 0.5258 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.4323, allocations: 261.2 kB / 0.5261 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4326, allocations: 0.7065 MB / 0.5268 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.449e-05/0.4326, allocations: 6.391 kB / 0.5268 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.4326, allocations: 11.28 kB / 0.5268 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4327, allocations: 0 / 0.5268 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.003343/0.436, allocations: 0.7314 MB / 0.5275 GB, free: 13.3 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches