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.00165/0.00165, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.00193/0.00193, allocations: 189.2 kB / 24.47 MB, free: 4.168 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.441/1.441, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001618/0.001618, allocations: 47.91 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2658, allocations: 52.19 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008928/0.2747, allocations: 6.537 MB / 430.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.2799, allocations: 2.566 MB / 433 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008096/0.2807, allocations: 23.94 kB / 433 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.2841, allocations: 1.283 MB / 434.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.286, allocations: 0.6982 MB / 435 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.2884, allocations: 1.112 MB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.29, allocations: 1.067 MB / 437.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.2912, allocations: 0.7853 MB / 438 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.2918, allocations: 450.4 kB / 438.4 MB, free: 68 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007888/0.2926, allocations: 0.5446 MB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.2928, allocations: 96 kB / 439 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008466/0.2936, allocations: 407.6 kB / 439.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.2939, allocations: 231.2 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000552/0.2944, allocations: 0.5131 MB / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.2965, allocations: 1.511 MB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2965, allocations: 0 / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2965, allocations: 0 / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.2965, allocations: 0 / 441.7 MB, free: 12.77 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.004773/0.3013, allocations: 1.685 MB / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3014, allocations: 16.03 kB / 443.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.3045, allocations: 483.8 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/0.3053, allocations: 428.2 kB / 444.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.018e-05/0.3054, allocations: 82.22 kB / 444.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.3056, allocations: 119.9 kB / 444.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.3075, allocations: 0.9784 MB / 445.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.3076, allocations: 0 / 445.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.62e-05/0.3077, allocations: 44 kB / 445.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.3077, allocations: 28 kB / 445.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.3097, allocations: 0.9574 MB / 446.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006085/0.3158, allocations: 3.496 MB / 450 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.3175, allocations: 0.817 MB / 450.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007906/0.3183, allocations: 400.3 kB / 451.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.335e-05/0.3184, allocations: 21.05 kB / 451.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008722/0.3192, allocations: 470.5 kB / 451.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.394e-06/0.3192, allocations: 0 / 451.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009289/0.3285, allocations: 3.699 MB / 455.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.3286, allocations: 141.5 kB / 455.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.3291, allocations: 397.5 kB / 455.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.3292, allocations: 49.7 kB / 455.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.3296, allocations: 433 kB / 456.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.3299, allocations: 444.2 kB / 456.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.3303, allocations: 202.9 kB / 457 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3305, allocations: 382.8 kB / 457.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007504/0.3312, allocations: 346.5 kB / 457.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009397/0.3322, allocations: 0.5351 MB / 458.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.3339, allocations: 0.9342 MB / 459.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3339, allocations: 0 / 459.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002746/0.3366, allocations: 1.374 MB / 460.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3366, allocations: 4 kB / 460.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3366, allocations: 8 kB / 460.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009257/0.3376, allocations: 349.7 kB / 460.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.3384, allocations: 207.7 kB / 461.1 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008959/0.3474, allocations: 8.068 MB / 469.2 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000832/0.3482, allocations: 51.94 kB / 469.2 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/0.3483, allocations: 44.06 kB / 469.3 MB, free: 160 kB / 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.0005064/0.3488, allocations: 265.5 kB / 469.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.349, allocations: 71.58 kB / 469.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.3517, allocations: 1.285 MB / 470.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.3518, allocations: 16 kB / 470.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.3518, allocations: 8 kB / 470.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.3518, allocations: 3.984 kB / 470.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.3567, allocations: 2.482 MB / 473.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3567, allocations: 0 / 473.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.3574, allocations: 155.8 kB / 473.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008563/0.3583, allocations: 335.4 kB / 473.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.3583, allocations: 27.98 kB / 473.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008622/0.3669, allocations: 7.713 MB / 481.6 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.367, allocations: 7.969 kB / 481.6 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/0.3705, allocations: 1.81 MB / 483.4 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.3709, allocations: 147.5 kB / 483.6 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.371, allocations: 28 kB / 483.6 MB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.3715, allocations: 35.98 kB / 483.6 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.3718, allocations: 112.7 kB / 483.7 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.3718, allocations: 32 kB / 483.8 MB, free: 1.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003567/0.3722, allocations: 271.2 kB / 484 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3722, allocations: 0 / 484 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00116/0.3733, allocations: 311.9 kB / 484.3 MB, free: 472 kB / 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.0003258/0.3737, allocations: 171.2 kB / 484.5 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002895/0.3765, allocations: 1.549 MB / 486.1 MB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3766, allocations: 320 / 486.1 MB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.3784, allocations: 1.106 MB / 487.2 MB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.379, allocations: 85.36 kB / 487.3 MB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.3827, allocations: 1.992 MB / 489.2 MB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/0.3834, allocations: 1.024 MB / 490.3 MB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.3837, allocations: 63.42 kB / 490.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3837, allocations: 0 / 490.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of Templates: time 0.03295/0.4166, allocations: 26.34 MB / 0.5046 GB, free: 15.88 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/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: 8.7070258310996]