Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.00134/0.00134, allocations: 89.02 kB / 21.44 MB, free: 276 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.00156/0.00156, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.556e-05, allocations: 10.28 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009609/0.009645, allocations: 5.779 MB / 304.7 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005424/0.01507, allocations: 2.434 MB / 307.2 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006172/0.01569, allocations: 19.94 kB / 307.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.01886, allocations: 1.255 MB / 308.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.02077, allocations: 0.5549 MB / 309 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.02338, allocations: 1.179 MB / 310.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.02506, allocations: 1.14 MB / 311.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.02636, allocations: 0.7856 MB / 312.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008271/0.02718, allocations: 0.6548 MB / 312.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.02782, allocations: 430.7 kB / 313.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.02798, allocations: 96 kB / 313.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009496/0.02893, allocations: 395.4 kB / 313.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.02916, allocations: 239 kB / 313.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004381/0.02959, allocations: 371 kB / 314.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.03178, allocations: 1.565 MB / 315.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.03179, allocations: 4 kB / 315.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03179, allocations: 4 kB / 315.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.0318, allocations: 0 / 315.8 MB, free: 7.746 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004774/0.03658, allocations: 1.701 MB / 317.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.03664, allocations: 12.02 kB / 317.5 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003989/0.04063, allocations: 0.5739 MB / 318.1 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.04142, allocations: 439.6 kB / 318.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-05/0.04152, allocations: 86.67 kB / 318.6 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.04171, allocations: 123.9 kB / 318.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.04376, allocations: 1.057 MB / 319.8 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.0438, allocations: 4 kB / 319.8 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.04392, allocations: 48 kB / 319.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.04395, allocations: 28 kB / 319.9 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.04604, allocations: 1.02 MB / 320.9 MB, free: 2.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1904/0.2365, allocations: 3.009 MB / 323.9 MB, free: 32.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.2385, allocations: 0.8619 MB / 324.8 MB, free: 32.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007934/0.2393, allocations: 411.4 kB / 325.2 MB, free: 32.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.541e-05/0.2394, allocations: 20.5 kB / 325.2 MB, free: 32.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008798/0.2403, allocations: 0.5212 MB / 325.7 MB, free: 32.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 2.986e-06/0.2403, allocations: 0 / 325.7 MB, free: 32.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.008842/0.2491, allocations: 3.666 MB / 329.4 MB, free: 30.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.2492, allocations: 148.5 kB / 329.5 MB, free: 30.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.2497, allocations: 396.5 kB / 329.9 MB, free: 30.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/0.2497, allocations: 46.7 kB / 330 MB, free: 30.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.25, allocations: 458.6 kB / 330.4 MB, free: 30.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.2503, allocations: 442.2 kB / 330.8 MB, free: 29.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.2507, allocations: 217.1 kB / 331.1 MB, free: 29.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2508, allocations: 375.6 kB / 331.4 MB, free: 29.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.2515, allocations: 358.7 kB / 331.8 MB, free: 29.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009047/0.2524, allocations: 0.6365 MB / 332.4 MB, free: 28.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.254, allocations: 0.9899 MB / 333.4 MB, free: 28.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.254, allocations: 3.406 kB / 333.4 MB, free: 28.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002997/0.257, allocations: 1.409 MB / 334.8 MB, free: 27.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.2571, allocations: 14.72 kB / 334.8 MB, free: 27.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.2571, allocations: 5.438 kB / 334.8 MB, free: 27.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.2581, allocations: 353.9 kB / 335.2 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/0.2591, allocations: 221 kB / 335.4 MB, free: 27.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.2661, allocations: 7.883 MB / 343.3 MB, free: 20.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008674/0.267, allocations: 52.91 kB / 343.3 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.2671, allocations: 55.42 kB / 343.4 MB, free: 20.88 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004845/0.2676, allocations: 263 kB / 343.6 MB, free: 20.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2677, allocations: 76.78 kB / 343.7 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.2704, allocations: 1.303 MB / 345 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.2704, allocations: 11.41 kB / 345 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.2705, allocations: 7.719 kB / 345 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.2705, allocations: 10.64 kB / 345 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/0.2743, allocations: 2.223 MB / 347.3 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2743, allocations: 0 / 347.3 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/0.275, allocations: 153.3 kB / 347.4 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007237/0.2757, allocations: 333.5 kB / 347.7 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.2757, allocations: 27.58 kB / 347.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005471/0.2812, allocations: 7.527 MB / 355.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2812, allocations: 11.91 kB / 355.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.284, allocations: 1.818 MB / 357.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.2844, allocations: 143.4 kB / 357.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/0.2845, allocations: 24 kB / 357.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.285, allocations: 35.98 kB / 357.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.2852, allocations: 119.2 kB / 357.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/0.2853, allocations: 32.25 kB / 357.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.2855, allocations: 259.2 kB / 357.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2855, allocations: 4 kB / 357.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001413/0.287, allocations: 312 kB / 358 MB, free: 9.156 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003376/0.2873, allocations: 171 kB / 358.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.2898, allocations: 1.58 MB / 359.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2898, allocations: 0 / 359.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.2911, allocations: 1.108 MB / 360.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.2917, allocations: 77.42 kB / 361 MB, free: 6.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.2952, allocations: 1.909 MB / 362.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.2956, allocations: 436.4 kB / 363.3 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.296, allocations: 111.7 kB / 363.4 MB, free: 3.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.2962, allocations: 63.33 kB / 363.5 MB, free: 3.547 MB / 302.1 MB Notification: Performance of SimCode: time 1.453e-06/0.2962, allocations: 0 / 363.5 MB, free: 3.547 MB / 302.1 MB Notification: Performance of Templates: time 0.02205/0.3183, allocations: 10.97 MB / 374.4 MB, free: 8.598 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.083284389227629]