Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 195.1 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 47.92 kB / 370.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2643, allocations: 52.19 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008199/0.2725, allocations: 5.809 MB / 428.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004954/0.2775, allocations: 2.381 MB / 431.3 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006745/0.2782, allocations: 23.94 kB / 431.3 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.2813, allocations: 1.182 MB / 432.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.2832, allocations: 0.6718 MB / 433.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.2856, allocations: 1.047 MB / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.2872, allocations: 1.071 MB / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.2886, allocations: 0.7542 MB / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007493/0.2894, allocations: 462.3 kB / 436.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009241/0.2903, allocations: 485.7 kB / 436.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.2906, allocations: 99.94 kB / 437 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.2916, allocations: 387.6 kB / 437.4 MB, free: 92 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.2919, allocations: 227.2 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006915/0.2926, allocations: 430 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.295, allocations: 1.514 MB / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.295, allocations: 0 / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.295, allocations: 0 / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-05/0.295, allocations: 0 / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005295/0.3003, allocations: 1.681 MB / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3004, allocations: 12.03 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.3037, allocations: 491.8 kB / 441.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.3046, allocations: 436.2 kB / 442.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.3047, allocations: 82.22 kB / 442.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.3049, allocations: 112 kB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.3069, allocations: 1.021 MB / 443.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.3069, allocations: 8 kB / 443.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.307, allocations: 44 kB / 443.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.3071, allocations: 28 kB / 443.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.3091, allocations: 0.9534 MB / 444.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005868/0.3149, allocations: 2.925 MB / 447.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.3167, allocations: 0.8102 MB / 448.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.3175, allocations: 396.2 kB / 448.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.211e-05/0.3176, allocations: 16.98 kB / 448.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009617/0.3185, allocations: 0.5137 MB / 449.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.287e-06/0.3185, allocations: 4 kB / 449.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009307/0.3278, allocations: 3.691 MB / 452.8 MB, free: 412 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.328, allocations: 145.5 kB / 452.9 MB, free: 232 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.3284, allocations: 377.5 kB / 453.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.3285, allocations: 45.7 kB / 453.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.3288, allocations: 436.9 kB / 453.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.3292, allocations: 452.1 kB / 454.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.3295, allocations: 202.9 kB / 454.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3297, allocations: 374.8 kB / 454.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007326/0.3304, allocations: 350.5 kB / 455.1 MB, free: 14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.3314, allocations: 0.5853 MB / 455.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.333, allocations: 0.942 MB / 456.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.333, allocations: 0 / 456.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002682/0.3357, allocations: 1.351 MB / 458 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3358, allocations: 15.88 kB / 458 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3358, allocations: 4 kB / 458 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009342/0.3367, allocations: 353.6 kB / 458.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/0.3376, allocations: 203.7 kB / 458.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008653/0.3462, allocations: 7.901 MB / 466.4 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.347, allocations: 43.98 kB / 466.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.389e-05/0.3471, allocations: 51.98 kB / 466.5 MB, free: 2.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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.0004723/0.3476, allocations: 253.7 kB / 466.8 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3477, allocations: 75.53 kB / 466.8 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.3504, allocations: 1.289 MB / 468.1 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.3504, allocations: 15.94 kB / 468.1 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.3504, allocations: 8 kB / 468.2 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.3504, allocations: 7.969 kB / 468.2 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/0.3546, allocations: 2.186 MB / 470.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3546, allocations: 4.031 kB / 470.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007248/0.3553, allocations: 155.8 kB / 470.5 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008203/0.3561, allocations: 327.1 kB / 470.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.3562, allocations: 24 kB / 470.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007928/0.3641, allocations: 7.547 MB / 478.4 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.3641, allocations: 4 kB / 478.4 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/0.3677, allocations: 1.813 MB / 480.2 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.3681, allocations: 139.5 kB / 480.3 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.971e-05/0.3682, allocations: 23.98 kB / 480.4 MB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.3686, allocations: 39.98 kB / 480.4 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.3689, allocations: 104.8 kB / 480.5 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/0.3689, allocations: 35.98 kB / 480.5 MB, free: 3.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002983/0.3692, allocations: 247.2 kB / 480.8 MB, free: 3.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3692, allocations: 3.938 kB / 480.8 MB, free: 3.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001194/0.3704, allocations: 315.9 kB / 481.1 MB, free: 2.871 MB / 382.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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * 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.0003018/0.3707, allocations: 171 kB / 481.3 MB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002941/0.3737, allocations: 1.553 MB / 482.8 MB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3737, allocations: 0 / 482.8 MB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.3755, allocations: 1.095 MB / 483.9 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.3761, allocations: 73.41 kB / 484 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.3798, allocations: 1.951 MB / 485.9 MB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.3803, allocations: 432 kB / 486.4 MB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004249/0.3807, allocations: 101.8 kB / 486.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.3809, allocations: 55.42 kB / 486.5 MB, free: 13.26 MB / 398.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3809, allocations: 4 kB / 486.5 MB, free: 13.26 MB / 398.1 MB Notification: Performance of Templates: time 0.02255/0.4035, allocations: 11.96 MB / 498.5 MB, free: 1.375 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.080380070954561]