Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001779/0.001779, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.002139/0.002139, allocations: 210.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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(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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 51.92 kB / 378.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2725, allocations: 53.37 MB / 431.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.00909/0.2816, allocations: 5.854 MB / 437.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005163/0.2867, allocations: 2.46 MB / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000759/0.2875, allocations: 23.94 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.2907, allocations: 1.197 MB / 441.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.2924, allocations: 0.5201 MB / 441.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.2952, allocations: 1.193 MB / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.2969, allocations: 1.067 MB / 443.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.2983, allocations: 0.7857 MB / 444.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007126/0.299, allocations: 470.3 kB / 445.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009274/0.3, allocations: 0.5407 MB / 445.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.3002, allocations: 96 kB / 445.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009126/0.3011, allocations: 415.6 kB / 446.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.3013, allocations: 231.2 kB / 446.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005461/0.3019, allocations: 433.9 kB / 446.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.3038, allocations: 1.539 MB / 448.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.3038, allocations: 0 / 448.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3039, allocations: 4 kB / 448.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.287e-05/0.3039, allocations: 4 kB / 448.4 MB, free: 5.895 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.004792/0.3087, allocations: 1.692 MB / 450.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3087, allocations: 8.031 kB / 450.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/0.3122, allocations: 471.8 kB / 450.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.3131, allocations: 453.2 kB / 451 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.3132, allocations: 86.22 kB / 451.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.3134, allocations: 112 kB / 451.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.3154, allocations: 1.025 MB / 452.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.3155, allocations: 0 / 452.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.3156, allocations: 47.98 kB / 452.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.3156, allocations: 28 kB / 452.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.3177, allocations: 0.9457 MB / 453.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006106/0.3238, allocations: 2.945 MB / 456.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.3258, allocations: 0.8172 MB / 457 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/0.3266, allocations: 388.3 kB / 457.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.3267, allocations: 28.97 kB / 457.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009652/0.3276, allocations: 0.5174 MB / 457.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.595e-06/0.3276, allocations: 0 / 457.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009877/0.3375, allocations: 3.696 MB / 461.6 MB, free: 8.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3376, allocations: 149.5 kB / 461.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.3381, allocations: 385.5 kB / 462.1 MB, free: 7.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.3e-05/0.3382, allocations: 49.7 kB / 462.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.3385, allocations: 440.9 kB / 462.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004379/0.3389, allocations: 444.1 kB / 463 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.3393, allocations: 210.8 kB / 463.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3395, allocations: 378.8 kB / 463.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007747/0.3403, allocations: 342.5 kB / 463.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009907/0.3412, allocations: 0.5892 MB / 464.5 MB, free: 5.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.343, allocations: 0.9226 MB / 465.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.343, allocations: 4 kB / 465.5 MB, free: 4.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002897/0.3459, allocations: 1.363 MB / 466.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3459, allocations: 11.92 kB / 466.8 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3459, allocations: 8 kB / 466.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009808/0.3469, allocations: 343.2 kB / 467.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/0.3479, allocations: 211.6 kB / 467.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009159/0.357, allocations: 7.892 MB / 475.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.3577, allocations: 43.98 kB / 475.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.673e-05/0.3578, allocations: 47.98 kB / 475.4 MB, free: 9.945 MB / 382.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.0004107/0.3582, allocations: 257.7 kB / 475.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.3583, allocations: 71.58 kB / 475.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.3611, allocations: 1.281 MB / 477 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.3611, allocations: 15.94 kB / 477 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.949e-05/0.3612, allocations: 4 kB / 477 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.3612, allocations: 11.97 kB / 477 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/0.3655, allocations: 2.209 MB / 479.2 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3655, allocations: 4 kB / 479.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.3663, allocations: 147.8 kB / 479.4 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008638/0.3672, allocations: 333.6 kB / 479.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/0.3673, allocations: 40.11 kB / 479.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008296/0.3755, allocations: 7.525 MB / 487.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.3756, allocations: 7.938 kB / 487.2 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.3791, allocations: 1.798 MB / 489 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.3794, allocations: 151.5 kB / 489.2 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3795, allocations: 24 kB / 489.2 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.3801, allocations: 39.98 kB / 489.3 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.3803, allocations: 108.7 kB / 489.4 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/0.3804, allocations: 35.98 kB / 489.4 MB, free: 11.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002979/0.3807, allocations: 255.2 kB / 489.6 MB, free: 11.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3807, allocations: 7.938 kB / 489.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001181/0.3818, allocations: 316 kB / 490 MB, free: 10.78 MB / 398.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.0003047/0.3821, allocations: 171 kB / 490.1 MB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.3852, allocations: 1.545 MB / 491.7 MB, free: 9.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3852, allocations: 5.062 kB / 491.7 MB, free: 9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.3871, allocations: 1.102 MB / 492.8 MB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.3877, allocations: 85.62 kB / 492.9 MB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.3916, allocations: 1.927 MB / 494.8 MB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.3921, allocations: 436 kB / 495.2 MB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004148/0.3925, allocations: 102 kB / 495.3 MB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.3927, allocations: 55.42 kB / 495.4 MB, free: 5.18 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3927, allocations: 0 / 495.4 MB, free: 5.18 MB / 398.1 MB Notification: Performance of Templates: time 0.02331/0.4161, allocations: 12.62 MB / 0.4961 GB, free: 8.641 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.238592498935759]