Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001995/0.001995, allocations: 71.75 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.002808/0.002808, 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.511/1.511, allocations: 177.2 MB / 204.9 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2176/0.2176, allocations: 34.27 MB / 295.5 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 63.89 kB / 443.1 MB, free: 6.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3378, allocations: 66 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002944/0.3408, allocations: 1.887 MB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.3417, allocations: 0.5624 MB / 0.4996 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.3417, allocations: 3.25 kB / 0.4996 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.3419, allocations: 28.84 kB / 0.4996 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.342, allocations: 33.7 kB / 0.4997 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.3422, allocations: 56.25 kB / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3423, allocations: 148.8 kB / 0.4999 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3424, allocations: 45.7 kB / 0.4999 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/0.3425, allocations: 57.42 kB / 0.5 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.3426, allocations: 57.42 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.3426, allocations: 13.12 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.3426, allocations: 16.19 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.3427, allocations: 30.69 kB / 0.5001 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.3427, allocations: 57.67 kB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.3429, allocations: 154.8 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3429, allocations: 3.094 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3429, allocations: 4 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3429, allocations: 7.406 kB / 0.5003 GB, free: 27.84 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.0005033/0.3434, allocations: 379.2 kB / 0.5007 GB, free: 27.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.3435, allocations: 9 kB / 0.5007 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3435, allocations: 18.25 kB / 0.5007 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.3437, allocations: 142.5 kB / 0.5008 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3437, allocations: 10.84 kB / 0.5008 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3437, allocations: 17.38 kB / 0.5008 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.344, allocations: 144.1 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3441, allocations: 0 / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.3441, allocations: 4 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3441, allocations: 3.188 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.3444, allocations: 103 kB / 0.5011 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008058/0.3452, allocations: 0.5171 MB / 0.5016 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.3454, allocations: 60.94 kB / 0.5016 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.181e-05/0.3455, allocations: 32.09 kB / 0.5017 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3455, allocations: 0 / 0.5017 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.3455, allocations: 34.5 kB / 0.5017 GB, free: 26.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3455, allocations: 0 / 0.5017 GB, free: 26.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003539/0.3459, allocations: 114.2 kB / 0.5018 GB, free: 26.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.3459, allocations: 52.66 kB / 0.5019 GB, free: 26.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.346, allocations: 156.6 kB / 0.502 GB, free: 26.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.346, allocations: 28.86 kB / 0.502 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.346, allocations: 136.9 kB / 0.5022 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.346, allocations: 23.11 kB / 0.5022 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.3461, allocations: 27.3 kB / 0.5022 GB, free: 26.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.3461, allocations: 325.5 kB / 0.5025 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.3462, allocations: 23.59 kB / 0.5026 GB, free: 25.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3463, allocations: 72.94 kB / 0.5026 GB, free: 25.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.3465, allocations: 89.3 kB / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3465, allocations: 3.938 kB / 0.5027 GB, free: 25.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002536/0.3468, allocations: 129.3 kB / 0.5028 GB, free: 25.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3468, allocations: 6.469 kB / 0.5028 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3468, allocations: 0 / 0.5028 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3468, allocations: 3.219 kB / 0.5028 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3469, allocations: 29.88 kB / 0.5029 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3469, allocations: 3.281 kB / 0.5029 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/0.347, allocations: 14.73 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.347, allocations: 10.22 kB / 0.5029 GB, free: 25.77 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.873e-05/0.3471, allocations: 121.9 kB / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3471, allocations: 10.7 kB / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.3472, allocations: 8.469 kB / 0.503 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3472, allocations: 3.188 kB / 0.503 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3472, allocations: 11.34 kB / 0.5031 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3472, allocations: 4 kB / 0.5031 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.3473, allocations: 143.1 kB / 0.5032 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3473, allocations: 0 / 0.5032 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.501e-05/0.3474, allocations: 16.59 kB / 0.5032 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3474, allocations: 0 / 0.5032 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3474, allocations: 8 kB / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3474, allocations: 0 / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3474, allocations: 3.094 kB / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.3476, allocations: 183.9 kB / 0.5034 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.3476, allocations: 7.016 kB / 0.5034 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3477, allocations: 0 / 0.5034 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.3478, allocations: 10.38 kB / 0.5034 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3478, allocations: 3.25 kB / 0.5034 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3478, allocations: 3.422 kB / 0.5034 GB, free: 25.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.3478, allocations: 117.1 kB / 0.5035 GB, free: 25.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3478, allocations: 0 / 0.5035 GB, free: 25.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.3481, allocations: 30.8 kB / 0.5036 GB, free: 25.21 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.637e-05/0.3482, allocations: 99.14 kB / 0.5037 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3484, allocations: 71.02 kB / 0.5037 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3484, allocations: 0 / 0.5037 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.3485, allocations: 30.81 kB / 0.5037 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.3487, allocations: 14.09 kB / 0.5038 GB, free: 25.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.3492, allocations: 267.9 kB / 0.504 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.117e-05/0.3492, allocations: 93.28 kB / 0.5041 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.73e-05/0.3493, allocations: 14.86 kB / 0.5041 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.3493, allocations: 11.72 kB / 0.5041 GB, free: 24.8 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3493, allocations: 0 / 0.5041 GB, free: 24.8 MB / 446.1 MB Notification: Performance of Templates: time 0.003143/0.3525, allocations: 0.6583 MB / 0.5048 GB, free: 24.7 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.086941463989206]