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.001827/0.001827, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.002366/0.002366, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.5/1.5, allocations: 177.2 MB / 204.9 MB, free: 8.887 MB / 190.1 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.2055/0.2055, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 71.83 kB / 440.5 MB, free: 9.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.363, allocations: 65.45 MB / 0.4941 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002557/0.3655, allocations: 1.887 MB / 0.496 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.3663, allocations: 0.5567 MB / 0.4965 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.368e-05/0.3664, allocations: 7.094 kB / 0.4965 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.3665, allocations: 39.97 kB / 0.4966 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3666, allocations: 33.42 kB / 0.4966 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.3668, allocations: 41.22 kB / 0.4966 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3669, allocations: 152.8 kB / 0.4968 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.367, allocations: 47.45 kB / 0.4968 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.3671, allocations: 59.33 kB / 0.4969 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.3672, allocations: 52.33 kB / 0.4969 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.3672, allocations: 12 kB / 0.4969 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.3672, allocations: 18.66 kB / 0.497 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.3673, allocations: 29.75 kB / 0.497 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.3673, allocations: 56.06 kB / 0.497 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.3675, allocations: 170.3 kB / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3675, allocations: 0 / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3675, allocations: 0 / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3675, allocations: 0 / 0.4972 GB, free: 29.43 MB / 446.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.0005205/0.368, allocations: 376.8 kB / 0.4976 GB, free: 29.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.368, allocations: 13.78 kB / 0.4976 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.3681, allocations: 15.09 kB / 0.4976 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3682, allocations: 146.1 kB / 0.4977 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3683, allocations: 10.75 kB / 0.4977 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3683, allocations: 13.56 kB / 0.4978 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3685, allocations: 148.1 kB / 0.4979 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3686, allocations: 0 / 0.4979 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3686, allocations: 7 kB / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3686, allocations: 2.938 kB / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.3688, allocations: 105.1 kB / 0.498 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.3696, allocations: 0.5118 MB / 0.4985 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.3698, allocations: 68.78 kB / 0.4986 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.3699, allocations: 25.2 kB / 0.4986 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3699, allocations: 0 / 0.4986 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3699, allocations: 41.78 kB / 0.4986 GB, free: 28.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.3699, allocations: 0 / 0.4986 GB, free: 28.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003555/0.3703, allocations: 111.6 kB / 0.4987 GB, free: 28.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.3703, allocations: 55.02 kB / 0.4988 GB, free: 28.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.3704, allocations: 153.4 kB / 0.4989 GB, free: 28.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.3704, allocations: 25.7 kB / 0.499 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.3704, allocations: 137 kB / 0.4991 GB, free: 27.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.3704, allocations: 22.52 kB / 0.4991 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.3705, allocations: 30.66 kB / 0.4991 GB, free: 27.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.3705, allocations: 322.3 kB / 0.4995 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.3706, allocations: 26.97 kB / 0.4995 GB, free: 27.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3707, allocations: 61.84 kB / 0.4995 GB, free: 27.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.3709, allocations: 101 kB / 0.4996 GB, free: 27.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3709, allocations: 0 / 0.4996 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002543/0.3712, allocations: 124.2 kB / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3712, allocations: 6.625 kB / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.3712, allocations: 0 / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3712, allocations: 3.062 kB / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3713, allocations: 30.2 kB / 0.4998 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3714, allocations: 4.125 kB / 0.4998 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.505e-05/0.3714, allocations: 17.42 kB / 0.4998 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3715, allocations: 7.156 kB / 0.4998 GB, free: 27.36 MB / 446.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 6.753e-05/0.3715, allocations: 120.9 kB / 0.4999 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.3716, allocations: 10.27 kB / 0.4999 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.3716, allocations: 8.469 kB / 0.5 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3716, allocations: 3.031 kB / 0.5 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3716, allocations: 256 / 0.5 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3716, allocations: 7.359 kB / 0.5 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.3718, allocations: 154.3 kB / 0.5001 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3718, allocations: 3.938 kB / 0.5001 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.3718, allocations: 16.3 kB / 0.5001 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3718, allocations: 3.938 kB / 0.5001 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3719, allocations: 0 / 0.5001 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3719, allocations: 3 kB / 0.5001 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3719, allocations: 0 / 0.5001 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.3721, allocations: 184.1 kB / 0.5003 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.3721, allocations: 7.172 kB / 0.5003 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3721, allocations: 8 kB / 0.5003 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.3722, allocations: 9.75 kB / 0.5003 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.3723, allocations: 0 / 0.5003 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3723, allocations: 3.312 kB / 0.5003 GB, free: 26.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.3723, allocations: 116.2 kB / 0.5004 GB, free: 26.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3723, allocations: 0 / 0.5004 GB, free: 26.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3726, allocations: 29.14 kB / 0.5005 GB, free: 26.8 MB / 446.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 6.553e-05/0.3726, allocations: 95.69 kB / 0.5006 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3729, allocations: 76.56 kB / 0.5006 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3729, allocations: 0 / 0.5006 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.373, allocations: 27.47 kB / 0.5007 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3732, allocations: 7.125 kB / 0.5007 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.3737, allocations: 267.8 kB / 0.5009 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.198e-05/0.3737, allocations: 97.42 kB / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.3738, allocations: 10.58 kB / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.3738, allocations: 15.66 kB / 0.501 GB, free: 26.39 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3738, allocations: 0 / 0.501 GB, free: 26.39 MB / 446.1 MB Notification: Performance of Templates: time 0.003028/0.3768, allocations: 0.6614 MB / 0.5017 GB, free: 26.28 MB / 446.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 -s ida -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 [Calling sys.exit(0), Time elapsed: 5.0587518060347065]