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.0009355/0.0009355, allocations: 86.59 kB / 21.43 MB, free: 3.066 MB / 18.57 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.000944/0.000944, allocations: 167 kB / 24.82 MB, free: 8.367 MB / 18.57 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 0.9281/0.9281, allocations: 177 MB / 205.1 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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.1332/0.1332, allocations: 34.88 MB / 296.6 MB, free: 13.43 MB / 282.7 MB " [Timeout remaining time 180] 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 1.373e-06/1.373e-06, allocations: 0 / 379.2 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.135e-05, allocations: 3.297 kB / 379.2 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.001698/0.001709, allocations: 1.972 MB / 381.2 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006016/0.002311, allocations: 0.5802 MB / 381.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.002386, allocations: 0 / 381.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.002518, allocations: 31.72 kB / 381.8 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.045e-05/0.002599, allocations: 35.7 kB / 381.8 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.002712, allocations: 43.94 kB / 381.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.00282, allocations: 163.3 kB / 382 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.002915, allocations: 41.72 kB / 382.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.003008, allocations: 83.86 kB / 382.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.003067, allocations: 59.8 kB / 382.2 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.003089, allocations: 12 kB / 382.2 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.003103, allocations: 12 kB / 382.2 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.003123, allocations: 27.91 kB / 382.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.003156, allocations: 39.92 kB / 382.3 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003265, allocations: 111.6 kB / 382.4 MB, free: 19.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003267, allocations: 0 / 382.4 MB, free: 19.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003268, allocations: 4 kB / 382.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.003271, allocations: 4 kB / 382.4 MB, free: 19.54 MB / 314.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.0003276/0.003599, allocations: 468.2 kB / 382.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.003631, allocations: 12.03 kB / 382.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.003663, allocations: 24.84 kB / 382.9 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.003765, allocations: 144.4 kB / 383 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.003776, allocations: 8.656 kB / 383 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.003788, allocations: 16.38 kB / 383.1 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.003913, allocations: 109.1 kB / 383.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.003921, allocations: 4.188 kB / 383.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.003931, allocations: 4.375 kB / 383.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.003937, allocations: 7.938 kB / 383.2 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.003983, allocations: 37.59 kB / 383.2 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.004416, allocations: 0.5555 MB / 383.8 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/0.004506, allocations: 55 kB / 383.8 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.004521, allocations: 11.69 kB / 383.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.004534, allocations: 8.031 kB / 383.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.004549, allocations: 45.5 kB / 383.9 MB, free: 17.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.00455, allocations: 0 / 383.9 MB, free: 17.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001112/0.004661, allocations: 57.59 kB / 384 MB, free: 17.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.5e-05/0.004676, allocations: 55.39 kB / 384 MB, free: 17.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/0.004737, allocations: 197.8 kB / 384.2 MB, free: 17.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-06/0.004741, allocations: 25.7 kB / 384.2 MB, free: 17.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.004783, allocations: 186.4 kB / 384.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.586e-06/0.004792, allocations: 23.77 kB / 384.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.004821, allocations: 39.31 kB / 384.5 MB, free: 17.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.004858, allocations: 0.4922 MB / 385 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.004872, allocations: 11.98 kB / 385 MB, free: 16.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.004897, allocations: 54.41 kB / 385 MB, free: 16.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.386e-05/0.00494, allocations: 62.38 kB / 385.1 MB, free: 16.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004942, allocations: 0 / 385.1 MB, free: 16.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.734e-05/0.005019, allocations: 89.62 kB / 385.2 MB, free: 16.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.00503, allocations: 15.98 kB / 385.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005034, allocations: 0 / 385.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.005045, allocations: 0 / 385.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.005105, allocations: 23.98 kB / 385.2 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.005108, allocations: 7.938 kB / 385.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.005143, allocations: 15.89 kB / 385.2 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.005147, allocations: 4.25 kB / 385.2 MB, free: 16.44 MB / 314.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 3.982e-05/0.005187, allocations: 160.5 kB / 385.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.005202, allocations: 7.953 kB / 385.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/0.005223, allocations: 20.45 kB / 385.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005225, allocations: 4 kB / 385.4 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.005227, allocations: 0 / 385.4 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.005229, allocations: 0 / 385.4 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.746e-05/0.005307, allocations: 121.2 kB / 385.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005308, allocations: 7.938 kB / 385.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.005335, allocations: 11.98 kB / 385.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.005336, allocations: 0 / 385.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.00534, allocations: 0 / 385.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.005341, allocations: 7.938 kB / 385.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-07/0.005341, allocations: 0 / 385.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.049e-05/0.005402, allocations: 199.9 kB / 385.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.005412, allocations: 19.83 kB / 385.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.00542, allocations: 0 / 385.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.005457, allocations: 11.98 kB / 385.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.005479, allocations: 0 / 385.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005482, allocations: 4 kB / 385.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.438e-05/0.005506, allocations: 143.1 kB / 385.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.005506, allocations: 0 / 385.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.005658, allocations: 31.89 kB / 386 MB, free: 15.65 MB / 314.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 4.658e-05/0.005704, allocations: 95.25 kB / 386.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.802e-05/0.005772, allocations: 43.61 kB / 386.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005774, allocations: 3.938 kB / 386.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.64e-05/0.00579, allocations: 19.67 kB / 386.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.00596, allocations: 11.94 kB / 386.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.006225, allocations: 253.3 kB / 386.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.277e-05/0.006248, allocations: 71.19 kB / 386.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.535e-05/0.006273, allocations: 0 / 386.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.00631, allocations: 74.2 kB / 386.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.00631, allocations: 0 / 386.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.002018/0.008328, allocations: 0.7518 MB / 387.3 MB, free: 14.29 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.7443485651165247]