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.0009773/0.0009773, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001212/0.001212, allocations: 161.5 kB / 24.99 MB, free: 9.281 MB / 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2726/0.2726, allocations: 32.8 MB / 294.6 MB, free: 1.285 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 2.485e-06/2.485e-06, allocations: 0 / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.439e-05, allocations: 2.312 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002733/0.002768, allocations: 1.983 MB / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.003576, allocations: 0.5803 MB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.003665, allocations: 7.938 kB / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.003836, allocations: 31.78 kB / 378.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.003942, allocations: 39.64 kB / 378.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.00409, allocations: 39.94 kB / 378.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.004259, allocations: 159.3 kB / 378.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.004389, allocations: 45.73 kB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.004509, allocations: 87.8 kB / 378.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.004585, allocations: 47.86 kB / 379 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.004615, allocations: 16 kB / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.00463, allocations: 12 kB / 379 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.004658, allocations: 27.91 kB / 379 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.004706, allocations: 47.86 kB / 379.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004862, allocations: 103.6 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.004866, allocations: 0 / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004867, allocations: 0 / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.004875, allocations: 4 kB / 379.2 MB, free: 1.762 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.0004791/0.005354, allocations: 468.3 kB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.005392, allocations: 8.031 kB / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.005454, allocations: 28.84 kB / 379.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.005627, allocations: 148.4 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.005639, allocations: 8.656 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.005655, allocations: 12.38 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.005845, allocations: 117.1 kB / 380 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.005852, allocations: 4.188 kB / 380 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.005869, allocations: 16.3 kB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.005877, allocations: 3.938 kB / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.005963, allocations: 52.75 kB / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.006758, allocations: 0.5478 MB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.006957, allocations: 55.02 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.006995, allocations: 11.69 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.007023, allocations: 4 kB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.007056, allocations: 45.55 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.007058, allocations: 0 / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002203/0.007278, allocations: 57.59 kB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.007332, allocations: 55.41 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.007494, allocations: 208.4 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.007509, allocations: 25.7 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/0.007607, allocations: 186.4 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.007624, allocations: 15.86 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.007682, allocations: 35.36 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.007833, allocations: 0.4922 MB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.007869, allocations: 7.984 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.007937, allocations: 66.36 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.549e-05/0.008032, allocations: 66.38 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.008035, allocations: 4 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001627/0.008198, allocations: 89.77 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.008218, allocations: 7.984 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.008225, allocations: 4.125 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.008241, allocations: 8 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.008397, allocations: 27.92 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.008404, allocations: 0 / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.00846, allocations: 15.89 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.008468, allocations: 7.938 kB / 382.1 MB, free: 14.62 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 9.333e-05/0.008561, allocations: 160.5 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.008597, allocations: 11.95 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.008633, allocations: 16.45 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008636, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.00864, allocations: 4 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008644, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.008814, allocations: 152.5 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008816, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.008867, allocations: 15.98 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.00887, allocations: 3.938 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.008878, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.00888, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008881, allocations: 4 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.009036, allocations: 207.8 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.009053, allocations: 3.953 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.009072, allocations: 12 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.009135, allocations: 3.984 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.009182, allocations: 4 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.009189, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.009254, allocations: 147.2 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009254, allocations: 0 / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.00942, allocations: 31.89 kB / 382.8 MB, free: 13.8 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 9.034e-05/0.009511, allocations: 95.19 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.009618, allocations: 47.73 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00962, allocations: 0 / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.009645, allocations: 23.67 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.009853, allocations: 12.12 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.01032, allocations: 263.3 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.096e-05/0.01037, allocations: 67.34 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.018e-05/0.0104, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.01043, allocations: 12.5 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01043, allocations: 0 / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Templates: time 0.002572/0.013, allocations: 0.6783 MB / 384 MB, free: 12.54 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.11877114395611]