Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001488/0.001488, allocations: 106 kB / 21.22 MB, free: 0.6758 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.001506/0.001506, allocations: 189.2 kB / 24.51 MB, free: 4.051 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.785/1.785, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2483/0.2483, allocations: 44.91 MB / 353.5 MB, free: 11.91 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 63.89 kB / 497.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3664, allocations: 64.28 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004732/0.3711, allocations: 2.505 MB / 0.5512 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.3734, allocations: 1.055 MB / 0.5523 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.3735, allocations: 5.625 kB / 0.5523 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.3753, allocations: 0.5059 MB / 0.5528 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.3757, allocations: 104.1 kB / 0.5529 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.3772, allocations: 0.6459 MB / 0.5535 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.3777, allocations: 221.7 kB / 0.5537 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005964/0.3783, allocations: 201.2 kB / 0.5539 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.3785, allocations: 97.2 kB / 0.554 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.3788, allocations: 128.6 kB / 0.5541 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.3788, allocations: 22.5 kB / 0.5541 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.3793, allocations: 142.6 kB / 0.5543 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.3794, allocations: 54.98 kB / 0.5543 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.3795, allocations: 109 kB / 0.5544 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007042/0.3802, allocations: 405.2 kB / 0.5548 GB, free: 8.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3802, allocations: 0 / 0.5548 GB, free: 8.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3803, allocations: 0 / 0.5548 GB, free: 8.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3803, allocations: 0 / 0.5548 GB, free: 8.562 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00147/0.3817, allocations: 0.5517 MB / 0.5554 GB, free: 8.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.3818, allocations: 17.83 kB / 0.5554 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.3821, allocations: 55.52 kB / 0.5554 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.3823, allocations: 129.9 kB / 0.5556 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.3823, allocations: 26.89 kB / 0.5556 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.3824, allocations: 23.94 kB / 0.5556 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.3831, allocations: 287.1 kB / 0.5559 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.3831, allocations: 5.062 kB / 0.5559 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.3831, allocations: 10.84 kB / 0.5559 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.3831, allocations: 5.25 kB / 0.5559 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/0.3838, allocations: 231.8 kB / 0.5561 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.3857, allocations: 0.9232 MB / 0.557 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.3862, allocations: 210 kB / 0.5572 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.3865, allocations: 128.3 kB / 0.5573 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/0.3866, allocations: 4 kB / 0.5573 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3866, allocations: 34.56 kB / 0.5574 GB, free: 6.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.3866, allocations: 0 / 0.5574 GB, free: 6.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001234/0.3879, allocations: 360.2 kB / 0.5577 GB, free: 6.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.3879, allocations: 81.11 kB / 0.5578 GB, free: 6.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.3881, allocations: 144.5 kB / 0.5579 GB, free: 5.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3881, allocations: 29.7 kB / 0.558 GB, free: 5.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3882, allocations: 148.3 kB / 0.5581 GB, free: 5.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.3883, allocations: 71.42 kB / 0.5582 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.3884, allocations: 33.72 kB / 0.5582 GB, free: 5.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3885, allocations: 322.8 kB / 0.5585 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.3888, allocations: 79.91 kB / 0.5586 GB, free: 5.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.389, allocations: 121.3 kB / 0.5587 GB, free: 5.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.3895, allocations: 201.2 kB / 0.5589 GB, free: 4.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3895, allocations: 4.109 kB / 0.5589 GB, free: 4.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006544/0.3902, allocations: 286.8 kB / 0.5592 GB, free: 4.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3902, allocations: 8.188 kB / 0.5592 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3902, allocations: 7.984 kB / 0.5592 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.3904, allocations: 45.7 kB / 0.5592 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3906, allocations: 47.89 kB / 0.5593 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.3931, allocations: 2.637 MB / 0.5619 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.3933, allocations: 27.88 kB / 0.5619 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.3933, allocations: 4 kB / 0.5619 GB, free: 1.523 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.3935, allocations: 147.5 kB / 0.562 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.3936, allocations: 23.97 kB / 0.5621 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.3942, allocations: 252.2 kB / 0.5623 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3942, allocations: 4 kB / 0.5623 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3943, allocations: 0 / 0.5623 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3943, allocations: 7.984 kB / 0.5623 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.3955, allocations: 0.614 MB / 0.5629 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3955, allocations: 3.938 kB / 0.5629 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3957, allocations: 40.03 kB / 0.5629 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/0.3958, allocations: 45.69 kB / 0.563 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3958, allocations: 11.94 kB / 0.563 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.3981, allocations: 2.637 MB / 0.5656 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3981, allocations: 0 / 0.5656 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3992, allocations: 0.5179 MB / 0.5661 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.3992, allocations: 15.88 kB / 0.5661 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3992, allocations: 8 kB / 0.5661 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.3994, allocations: 15.98 kB / 0.5661 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.3995, allocations: 31.95 kB / 0.5661 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3995, allocations: 4 kB / 0.5662 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3996, allocations: 105.6 kB / 0.5663 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3996, allocations: 0 / 0.5663 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.4001, allocations: 67.89 kB / 0.5663 GB, free: 12.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002987/0.4004, allocations: 127.1 kB / 0.5664 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008645/0.4013, allocations: 419 kB / 0.5668 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4013, allocations: 0 / 0.5668 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.4017, allocations: 329.1 kB / 0.5672 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.4021, allocations: 19.83 kB / 0.5672 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.4031, allocations: 470.8 kB / 0.5676 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.4035, allocations: 0.7322 MB / 0.5683 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.4036, allocations: 21.42 kB / 0.5684 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.4036, allocations: 19.44 kB / 0.5684 GB, free: 10.41 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4036, allocations: 0 / 0.5684 GB, free: 10.41 MB / 414.1 MB Notification: Performance of Templates: time 0.007522/0.4112, allocations: 2.452 MB / 0.5708 GB, free: 7.961 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.773931640200317]