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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00244/0.00244, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002735/0.002735, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.613/1.613, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3447/0.3447, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.543e-06/1.543e-06, allocations: 0 / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.114e-05, allocations: 6.25 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003469/0.003501, allocations: 1.946 MB / 377.2 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004584, allocations: 0.5802 MB / 377.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.004664, allocations: 4 kB / 377.8 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.004837, allocations: 27.78 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.00497, allocations: 39.64 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.005132, allocations: 43.94 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.005349, allocations: 155.4 kB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.005495, allocations: 37.78 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.005651, allocations: 95.73 kB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.005743, allocations: 43.88 kB / 378.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.00578, allocations: 16 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.895e-05/0.005809, allocations: 12 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.005855, allocations: 35.83 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.005922, allocations: 39.92 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.006165, allocations: 163.5 kB / 378.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006167, allocations: 4 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006168, allocations: 4 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.006175, allocations: 3.984 kB / 378.5 MB, free: 1.754 MB / 346.7 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.0007369/0.006912, allocations: 471.9 kB / 378.9 MB, free: 1.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.006948, allocations: 15.97 kB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.007016, allocations: 28.84 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.007242, allocations: 152.2 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.007263, allocations: 12.66 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.007288, allocations: 20.38 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.0076, allocations: 128.4 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.007611, allocations: 192 / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.007628, allocations: 4.375 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.007638, allocations: 7.938 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.007886, allocations: 96.72 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.008937, allocations: 0.583 MB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.009186, allocations: 79.02 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.009269, allocations: 23.84 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.009305, allocations: 4 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.009356, allocations: 33.39 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.009357, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003375/0.009694, allocations: 97.56 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.009738, allocations: 51.41 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.01006, allocations: 213.9 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01008, allocations: 25.7 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.01022, allocations: 202.4 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.01025, allocations: 19.86 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.01031, allocations: 35.36 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.01057, allocations: 0.4922 MB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.01066, allocations: 23.98 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.01078, allocations: 70.42 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.01098, allocations: 102.3 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01098, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002722/0.01125, allocations: 121.4 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01127, allocations: 8 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01127, allocations: 0 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01129, allocations: 4 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.01141, allocations: 19.98 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.01142, allocations: 7.938 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.01151, allocations: 20 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.01152, allocations: 8 kB / 381.6 MB, free: 14.36 MB / 362.7 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.0001408/0.01167, allocations: 168.5 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.0117, allocations: 11.95 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.01174, allocations: 8.469 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01174, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.01174, allocations: 4.25 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01175, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.01199, allocations: 176.5 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.01199, allocations: 0 / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.01207, allocations: 19.98 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01208, allocations: 4 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.01209, allocations: 0 / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.01209, allocations: 4.016 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.0121, allocations: 3.984 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.01239, allocations: 227.8 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.01241, allocations: 11.94 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.01243, allocations: 0 / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.01251, allocations: 4 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.01256, allocations: 7.984 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.01256, allocations: 4 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.01268, allocations: 153.8 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01268, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.01293, allocations: 31.89 kB / 382.4 MB, free: 13.47 MB / 362.7 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.0001308/0.01306, allocations: 95.23 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.0133, allocations: 67.59 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0133, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.01338, allocations: 39.86 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.01363, allocations: 11.94 kB / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.01419, allocations: 263.1 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.0143, allocations: 98.2 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.954e-05/0.01434, allocations: 8 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.01438, allocations: 12.5 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01438, allocations: 0 / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.003608/0.01799, allocations: 0.6734 MB / 383.7 MB, free: 12.14 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.822236120933667]