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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 105 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 194.1 kB / 23.52 MB, free: 5.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 252.1 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 44.92 MB / 352.1 MB, free: 12.31 MB / 286.1 MB [Timeout remaining time 90] 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=1000,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=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 495.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3418, allocations: 64.26 MB / 0.5467 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003598/0.3454, allocations: 1.921 MB / 0.5486 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3464, allocations: 0.5655 MB / 0.5492 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.436e-05/0.3465, allocations: 7.219 kB / 0.5492 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.3467, allocations: 27.31 kB / 0.5492 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.3469, allocations: 41.58 kB / 0.5492 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.3471, allocations: 45.34 kB / 0.5493 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3473, allocations: 146.8 kB / 0.5494 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.3475, allocations: 45.3 kB / 0.5495 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.3477, allocations: 66.08 kB / 0.5495 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3478, allocations: 64.77 kB / 0.5496 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.3478, allocations: 13.19 kB / 0.5496 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/0.3478, allocations: 13.03 kB / 0.5496 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.3479, allocations: 40.06 kB / 0.5497 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8e-05/0.348, allocations: 67.33 kB / 0.5497 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3482, allocations: 153.7 kB / 0.5499 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3482, allocations: 3.984 kB / 0.5499 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3482, allocations: 0 / 0.5499 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3482, allocations: 1.125 kB / 0.5499 GB, free: 10.79 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.0007386/0.3489, allocations: 449 kB / 0.5503 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.349, allocations: 13.19 kB / 0.5503 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.349, allocations: 16.69 kB / 0.5503 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3493, allocations: 205.7 kB / 0.5505 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3493, allocations: 10.5 kB / 0.5505 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3494, allocations: 13.47 kB / 0.5506 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.3498, allocations: 138.8 kB / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3498, allocations: 0 / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3498, allocations: 9.469 kB / 0.5507 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3498, allocations: 4.031 kB / 0.5507 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.3501, allocations: 104.7 kB / 0.5508 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.3512, allocations: 0.6057 MB / 0.5514 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3514, allocations: 72.55 kB / 0.5515 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3515, allocations: 29.69 kB / 0.5515 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3515, allocations: 1.75 kB / 0.5515 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3516, allocations: 38.56 kB / 0.5515 GB, free: 9.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3516, allocations: 0 / 0.5515 GB, free: 9.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003965/0.352, allocations: 111.9 kB / 0.5516 GB, free: 9.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.352, allocations: 51.41 kB / 0.5517 GB, free: 9.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.3522, allocations: 154.9 kB / 0.5518 GB, free: 9.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3523, allocations: 37.58 kB / 0.5519 GB, free: 8.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.3523, allocations: 127.7 kB / 0.552 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3524, allocations: 26.69 kB / 0.552 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.3524, allocations: 25.5 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3526, allocations: 321.1 kB / 0.5523 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3527, allocations: 35.5 kB / 0.5524 GB, free: 8.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3528, allocations: 55.97 kB / 0.5524 GB, free: 8.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.353, allocations: 95.28 kB / 0.5525 GB, free: 8.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.353, allocations: 0 / 0.5525 GB, free: 8.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002918/0.3533, allocations: 135.6 kB / 0.5527 GB, free: 8.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3533, allocations: 4.906 kB / 0.5527 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3533, allocations: 5.094 kB / 0.5527 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3534, allocations: 2.094 kB / 0.5527 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.3535, allocations: 28.55 kB / 0.5527 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3535, allocations: 1.344 kB / 0.5527 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3536, allocations: 22.81 kB / 0.5527 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3536, allocations: 3.406 kB / 0.5527 GB, free: 8.215 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.0001104/0.3537, allocations: 123.5 kB / 0.5528 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.3538, allocations: 12.77 kB / 0.5528 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.3538, allocations: 13.58 kB / 0.5529 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3538, allocations: 5.156 kB / 0.5529 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3538, allocations: 0 / 0.5529 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3538, allocations: 1.094 kB / 0.5529 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3541, allocations: 201.8 kB / 0.5531 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3541, allocations: 2.531 kB / 0.5531 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.203e-05/0.3542, allocations: 14.17 kB / 0.5531 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3542, allocations: 0 / 0.5531 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3542, allocations: 1.5 kB / 0.5531 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3542, allocations: 11.92 kB / 0.5531 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3542, allocations: 1.438 kB / 0.5531 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3545, allocations: 181.9 kB / 0.5533 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.3545, allocations: 91.77 kB / 0.5533 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.3545, allocations: 4 kB / 0.5534 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.3546, allocations: 12.48 kB / 0.5534 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.3547, allocations: 5.312 kB / 0.5534 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3547, allocations: 1.5 kB / 0.5534 GB, free: 7.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3548, allocations: 120.6 kB / 0.5535 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3548, allocations: 0 / 0.5535 GB, free: 7.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.3552, allocations: 23.41 kB / 0.5535 GB, free: 7.445 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.0001138/0.3553, allocations: 92.16 kB / 0.5536 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.3556, allocations: 71.11 kB / 0.5537 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3556, allocations: 4 kB / 0.5537 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-05/0.3557, allocations: 36.66 kB / 0.5537 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.356, allocations: 6.156 kB / 0.5537 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.3566, allocations: 287 kB / 0.554 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.357, allocations: 0.7091 MB / 0.5547 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.3571, allocations: 12.09 kB / 0.5547 GB, free: 6.355 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3571, allocations: 0 / 0.5547 GB, free: 6.355 MB / 398.1 MB Notification: Performance of Templates: time 0.003375/0.3604, allocations: 1.269 MB / 0.5559 GB, free: 5.688 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches