Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00196/0.00196, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00216/0.00216, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2445/0.2445, allocations: 34.25 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003751/0.003751, allocations: 83.86 kB / 443.1 MB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3296, allocations: 66.05 MB / 0.4973 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002591/0.3322, allocations: 1.893 MB / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.333, allocations: 0.5651 MB / 0.4997 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.3331, allocations: 7.219 kB / 0.4997 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.3332, allocations: 32.03 kB / 0.4997 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.3333, allocations: 33.64 kB / 0.4997 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.3335, allocations: 45 kB / 0.4998 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.3336, allocations: 150 kB / 0.4999 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3337, allocations: 44.66 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.274e-05/0.3338, allocations: 64.25 kB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.3339, allocations: 53.97 kB / 0.5001 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.3339, allocations: 16.81 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.334, allocations: 13.03 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.334, allocations: 29.84 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.334, allocations: 54.53 kB / 0.5002 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.3342, allocations: 165.6 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3342, allocations: 3.938 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3342, allocations: 0 / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3342, allocations: 0 / 0.5003 GB, free: 27.85 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.0005288/0.3347, allocations: 373.4 kB / 0.5007 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3348, allocations: 9.781 kB / 0.5007 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.3348, allocations: 15.41 kB / 0.5007 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.335, allocations: 150.8 kB / 0.5009 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.335, allocations: 10.84 kB / 0.5009 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.335, allocations: 14.12 kB / 0.5009 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.3353, allocations: 139 kB / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3353, allocations: 4 kB / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3353, allocations: 4 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3354, allocations: 3.156 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.3356, allocations: 103.7 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007978/0.3364, allocations: 0.5131 MB / 0.5016 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.3367, allocations: 75 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.3368, allocations: 27.86 kB / 0.5017 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3368, allocations: 0 / 0.5017 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.3368, allocations: 36.5 kB / 0.5018 GB, free: 26.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.3368, allocations: 0 / 0.5018 GB, free: 26.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004627/0.3373, allocations: 112.3 kB / 0.5019 GB, free: 26.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.3373, allocations: 51.41 kB / 0.5019 GB, free: 26.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3374, allocations: 160.7 kB / 0.5021 GB, free: 26.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.3374, allocations: 25.7 kB / 0.5021 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.3375, allocations: 140.1 kB / 0.5022 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.3375, allocations: 27.25 kB / 0.5023 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.3376, allocations: 23.19 kB / 0.5023 GB, free: 26.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.3376, allocations: 325.4 kB / 0.5026 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3377, allocations: 30.77 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3379, allocations: 58.44 kB / 0.5027 GB, free: 25.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3381, allocations: 92.95 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3381, allocations: 7.125 kB / 0.5028 GB, free: 25.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002453/0.3383, allocations: 122 kB / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3383, allocations: 10.05 kB / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3383, allocations: 4 kB / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3383, allocations: 3.188 kB / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3385, allocations: 22.59 kB / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3385, allocations: 3.219 kB / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.3386, allocations: 13.53 kB / 0.5029 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.3386, allocations: 7.281 kB / 0.5029 GB, free: 25.78 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.212e-05/0.3386, allocations: 124.7 kB / 0.5031 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.3387, allocations: 7.141 kB / 0.5031 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.3387, allocations: 23.2 kB / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3387, allocations: 0 / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3387, allocations: 0 / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3387, allocations: 0 / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.3388, allocations: 151 kB / 0.5032 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3388, allocations: 7.062 kB / 0.5032 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.3389, allocations: 12.81 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3389, allocations: 3.5 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3389, allocations: 0 / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3389, allocations: 0 / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3389, allocations: 0 / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.3391, allocations: 197.8 kB / 0.5034 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.3392, allocations: 6.672 kB / 0.5035 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.3392, allocations: 0 / 0.5035 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3393, allocations: 6.406 kB / 0.5035 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3393, allocations: 6.453 kB / 0.5035 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.3393, allocations: 0 / 0.5035 GB, free: 25.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.3394, allocations: 120.2 kB / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3394, allocations: 0 / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.3396, allocations: 25.7 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.305e-05/0.3397, allocations: 103 kB / 0.5037 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3399, allocations: 69.33 kB / 0.5038 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3399, allocations: 0 / 0.5038 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.34, allocations: 33.92 kB / 0.5038 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.0002478/0.3403, allocations: 7.469 kB / 0.5038 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.3407, allocations: 265 kB / 0.5041 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.097e-05/0.3407, allocations: 93.78 kB / 0.5042 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.72e-05/0.3408, allocations: 7.188 kB / 0.5042 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.3408, allocations: 11.66 kB / 0.5042 GB, free: 24.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3408, allocations: 0 / 0.5042 GB, free: 24.82 MB / 446.1 MB Notification: Performance of Templates: time 0.003427/0.3442, allocations: 0.6682 MB / 0.5048 GB, free: 24.7 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.137452561990358]