Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 230.3 MB / 258 MB, free: 8.191 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2357/0.2357, allocations: 46.94 MB / 361.4 MB, free: 4.375 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 75.88 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.357, allocations: 66.05 MB / 0.5616 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004088/0.3611, allocations: 2.516 MB / 0.5641 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3631, allocations: 1.117 MB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3632, allocations: 8 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.3646, allocations: 0.4979 MB / 0.5657 GB, free: 348 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.3649, allocations: 115.2 kB / 0.5658 GB, free: 232 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3659, allocations: 490.1 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.3663, allocations: 223 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004745/0.3668, allocations: 210.3 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.367, allocations: 103.6 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.3672, allocations: 131.5 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.3672, allocations: 20 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.3676, allocations: 159.9 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.3676, allocations: 43.84 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3678, allocations: 119.4 kB / 0.5672 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.3684, allocations: 393.4 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3684, allocations: 0 / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3684, allocations: 0 / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3684, allocations: 0 / 0.5676 GB, free: 14.38 MB / 414.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.001381/0.3698, allocations: 0.556 MB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3698, allocations: 12.03 kB / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.3702, allocations: 52.77 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3703, allocations: 138.1 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3703, allocations: 16.88 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.3704, allocations: 28.36 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.371, allocations: 290.9 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3711, allocations: 0 / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.3711, allocations: 12 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3711, allocations: 8 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.3717, allocations: 237.5 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.3733, allocations: 0.93 MB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.3738, allocations: 205 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.3742, allocations: 125.7 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.3743, allocations: 11.98 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.3743, allocations: 46.5 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.3743, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001218/0.3756, allocations: 353.7 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.3756, allocations: 81.11 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3758, allocations: 137.8 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3758, allocations: 29.7 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3759, allocations: 148.3 kB / 0.5709 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.376, allocations: 75.44 kB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.376, allocations: 41.7 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3762, allocations: 322.8 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3764, allocations: 71.89 kB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.3766, allocations: 122 kB / 0.5715 GB, free: 10.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.3771, allocations: 201.9 kB / 0.5717 GB, free: 9.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3771, allocations: 4.109 kB / 0.5717 GB, free: 9.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006209/0.3777, allocations: 278.9 kB / 0.572 GB, free: 9.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3777, allocations: 7.984 kB / 0.572 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3777, allocations: 0 / 0.572 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.378, allocations: 53.62 kB / 0.572 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3782, allocations: 43.97 kB / 0.5721 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.3804, allocations: 2.637 MB / 0.5746 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3806, allocations: 31.84 kB / 0.5747 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.3806, allocations: 12 kB / 0.5747 GB, free: 6.598 MB / 414.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.0001787/0.3808, allocations: 145.7 kB / 0.5748 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.3809, allocations: 11.95 kB / 0.5748 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006843/0.3816, allocations: 262.8 kB / 0.5751 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3816, allocations: 0 / 0.5751 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3816, allocations: 4 kB / 0.5751 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3816, allocations: 3.984 kB / 0.5751 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3827, allocations: 0.614 MB / 0.5757 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3827, allocations: 3.938 kB / 0.5757 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.3829, allocations: 35.97 kB / 0.5757 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/0.383, allocations: 53.62 kB / 0.5758 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3831, allocations: 4 kB / 0.5758 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.3852, allocations: 2.637 MB / 0.5784 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.3853, allocations: 7.969 kB / 0.5784 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/0.3862, allocations: 0.5141 MB / 0.5789 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.3862, allocations: 15.92 kB / 0.5789 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.3862, allocations: 8 kB / 0.5789 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.3864, allocations: 15.98 kB / 0.5789 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.3865, allocations: 19.91 kB / 0.5789 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3865, allocations: 8 kB / 0.5789 GB, free: 1.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.465e-05/0.3866, allocations: 107.2 kB / 0.579 GB, free: 1.789 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3866, allocations: 0 / 0.579 GB, free: 1.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.387, allocations: 79.84 kB / 0.5791 GB, free: 1.711 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.0002288/0.3873, allocations: 131 kB / 0.5792 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008301/0.3881, allocations: 406.4 kB / 0.5796 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3881, allocations: 0 / 0.5796 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.3885, allocations: 337.6 kB / 0.58 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.389, allocations: 15.5 kB / 0.58 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.3901, allocations: 466.7 kB / 0.5804 GB, free: 304 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.3906, allocations: 0.7401 MB / 0.5811 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.476e-05/0.3906, allocations: 17.42 kB / 0.5811 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.3907, allocations: 19.44 kB / 0.5812 GB, free: 15.5 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3907, allocations: 0 / 0.5812 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Templates: time 0.007183/0.3979, allocations: 2.515 MB / 0.5836 GB, free: 12.99 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.43190090265125]