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.00129/0.00129, allocations: 113 kB / 19.04 MB, free: 3.254 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.001277/0.001277, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.39/1.39, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.00154/0.00154, allocations: 47.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2766, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008877/0.2854, allocations: 6.54 MB / 427.4 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.2905, allocations: 2.564 MB / 430 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004999/0.291, allocations: 23.94 kB / 430 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003011/0.294, allocations: 1.282 MB / 431.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.2957, allocations: 0.6835 MB / 432 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.2979, allocations: 1.118 MB / 433.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.2991, allocations: 1.063 MB / 434.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.3001, allocations: 0.6842 MB / 434.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.3006, allocations: 450.3 kB / 435.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.3013, allocations: 0.5485 MB / 435.8 MB, free: 80 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.3014, allocations: 96.05 kB / 435.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007933/0.3022, allocations: 399.6 kB / 436.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.3024, allocations: 235.1 kB / 436.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004734/0.3029, allocations: 0.517 MB / 437 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.3046, allocations: 1.51 MB / 438.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3046, allocations: 4 kB / 438.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3046, allocations: 0 / 438.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3046, allocations: 0 / 438.6 MB, free: 13.32 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.00418/0.3088, allocations: 1.653 MB / 440.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3088, allocations: 16.02 kB / 440.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/0.312, allocations: 483.8 kB / 440.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.3126, allocations: 494.4 kB / 441.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.3127, allocations: 90.14 kB / 441.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.3129, allocations: 116 kB / 441.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.3147, allocations: 0.9706 MB / 442.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.3148, allocations: 0 / 442.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.3149, allocations: 44 kB / 442.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.3149, allocations: 28 kB / 442.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.3169, allocations: 0.9613 MB / 443.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006031/0.3229, allocations: 3.678 MB / 447.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.325, allocations: 1.489 MB / 448.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007883/0.3258, allocations: 388.3 kB / 448.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.3259, allocations: 106.2 kB / 449 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008842/0.3268, allocations: 474.4 kB / 449.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.224e-06/0.3268, allocations: 4 kB / 449.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009146/0.3359, allocations: 4.004 MB / 453.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.336, allocations: 141.5 kB / 453.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.3365, allocations: 393.6 kB / 454 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.3366, allocations: 45.7 kB / 454.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.3369, allocations: 436.9 kB / 454.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.3373, allocations: 444.2 kB / 454.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.3376, allocations: 198.9 kB / 455.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3378, allocations: 378.8 kB / 455.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.3385, allocations: 358.5 kB / 455.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008878/0.3394, allocations: 0.5468 MB / 456.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.3411, allocations: 0.9333 MB / 457.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.3411, allocations: 0 / 457.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002647/0.3437, allocations: 1.374 MB / 458.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3438, allocations: 12 kB / 458.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3438, allocations: 4 kB / 458.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009169/0.3447, allocations: 353.8 kB / 459.1 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/0.3456, allocations: 207.7 kB / 459.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008757/0.3543, allocations: 8.493 MB / 467.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/0.3552, allocations: 43.98 kB / 467.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/0.3553, allocations: 48 kB / 467.8 MB, free: 14.58 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.000555/0.3559, allocations: 269.5 kB / 468.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.356, allocations: 75.53 kB / 468.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.3587, allocations: 1.289 MB / 469.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.3587, allocations: 12 kB / 469.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3588, allocations: 8 kB / 469.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3588, allocations: 7.984 kB / 469.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/0.363, allocations: 2.51 MB / 472 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.363, allocations: 4 kB / 472 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007213/0.3637, allocations: 155.7 kB / 472.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008074/0.3645, allocations: 327.2 kB / 472.5 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.3646, allocations: 31.98 kB / 472.5 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007949/0.3725, allocations: 8.124 MB / 480.6 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3726, allocations: 4 kB / 480.6 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.3759, allocations: 1.81 MB / 482.5 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.3763, allocations: 220.6 kB / 482.7 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3764, allocations: 27.98 kB / 482.7 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.3769, allocations: 39.98 kB / 482.7 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.3771, allocations: 96.81 kB / 482.8 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.3772, allocations: 35.98 kB / 482.9 MB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.3775, allocations: 271.2 kB / 483.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3775, allocations: 0 / 483.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001203/0.3787, allocations: 319.9 kB / 483.4 MB, free: 14.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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.0003179/0.379, allocations: 171 kB / 483.6 MB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002755/0.3818, allocations: 1.554 MB / 485.2 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3818, allocations: 0 / 485.2 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.3835, allocations: 1.107 MB / 486.3 MB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.384, allocations: 77.48 kB / 486.3 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.3876, allocations: 1.968 MB / 488.3 MB, free: 9.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.3884, allocations: 1.017 MB / 489.3 MB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.3888, allocations: 102.2 kB / 489.4 MB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.389, allocations: 55.42 kB / 489.5 MB, free: 8.004 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.389, allocations: 0 / 489.5 MB, free: 8.004 MB / 398.1 MB Notification: Performance of Templates: time 0.02147/0.4104, allocations: 11.68 MB / 0.4894 GB, free: 12.32 MB / 414.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.075339877977967]