Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.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.001936/0.001936, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002544/0.002544, allocations: 220.1 kB / 24.47 MB, free: 4.359 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.493/1.493, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.225/0.225, allocations: 46.88 MB / 361.1 MB, free: 4.648 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.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.002392/0.002392, allocations: 87.86 kB / 0.4967 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3584, allocations: 65.98 MB / 0.5612 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003129/0.3615, allocations: 1.759 MB / 0.5629 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001919/0.3617, allocations: 87.64 kB / 0.563 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.3617, allocations: 4 kB / 0.563 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.352e-05/0.3618, allocations: 11.86 kB / 0.563 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.3619, allocations: 23.8 kB / 0.563 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.362, allocations: 31.95 kB / 0.563 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.3621, allocations: 103.6 kB / 0.5631 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.3623, allocations: 39.97 kB / 0.5632 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.3624, allocations: 51.83 kB / 0.5632 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.3625, allocations: 47.78 kB / 0.5633 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.3625, allocations: 12 kB / 0.5633 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.3625, allocations: 8 kB / 0.5633 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.3625, allocations: 27.91 kB / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.3626, allocations: 47.8 kB / 0.5634 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.3628, allocations: 118.2 kB / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3628, allocations: 4 kB / 0.5635 GB, free: 2.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3628, allocations: 0 / 0.5635 GB, free: 2.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3628, allocations: 0 / 0.5635 GB, free: 2.703 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007132/0.3635, allocations: 423 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3635, allocations: 8.031 kB / 0.5639 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3636, allocations: 16.88 kB / 0.5639 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3637, allocations: 176.2 kB / 0.5641 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3638, allocations: 8.375 kB / 0.5641 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3638, allocations: 12.31 kB / 0.5641 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3641, allocations: 118.2 kB / 0.5642 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3641, allocations: 4.188 kB / 0.5642 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.3641, allocations: 7.938 kB / 0.5642 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3641, allocations: 3.984 kB / 0.5642 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.3645, allocations: 115.7 kB / 0.5643 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.3653, allocations: 471.4 kB / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.3656, allocations: 82.53 kB / 0.5649 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.3658, allocations: 56.94 kB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3659, allocations: 3.938 kB / 0.5649 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3659, allocations: 34.56 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3659, allocations: 0 / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008598/0.3668, allocations: 275.3 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3668, allocations: 55.41 kB / 0.5653 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3669, allocations: 129.8 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3669, allocations: 25.7 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.367, allocations: 108.2 kB / 0.5655 GB, free: 384 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.367, allocations: 19.8 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.3671, allocations: 21.7 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3672, allocations: 318.8 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.3674, allocations: 35.95 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.3676, allocations: 62.53 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.3679, allocations: 94.52 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3679, allocations: 3.938 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004282/0.3683, allocations: 150.3 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3683, allocations: 4 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3683, allocations: 320 / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.3685, allocations: 28.91 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3686, allocations: 15.98 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.3698, allocations: 1.407 MB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/0.3698, allocations: 12.02 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3699, allocations: 4 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.37, allocations: 117.8 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.37, allocations: 15.83 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.37, allocations: 12.36 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.37, allocations: 8.062 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.37, allocations: 0 / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.37, allocations: 0 / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.3707, allocations: 428 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3707, allocations: 0 / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3708, allocations: 16.02 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.126e-05/0.3709, allocations: 24.84 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3709, allocations: 0 / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.372, allocations: 1.406 MB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.372, allocations: 8.031 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.3724, allocations: 241.1 kB / 0.5698 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.3725, allocations: 85.05 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3725, allocations: 8 kB / 0.5699 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3726, allocations: 7.984 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.3727, allocations: 7.984 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.3727, allocations: 8 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.216e-05/0.3727, allocations: 95.2 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3727, allocations: 4 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.373, allocations: 35.83 kB / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001048/0.3731, allocations: 91.25 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.3736, allocations: 202.7 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3736, allocations: 0 / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.3739, allocations: 162.6 kB / 0.5705 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3742, allocations: 6.5 kB / 0.5705 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.3746, allocations: 220.9 kB / 0.5707 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.3749, allocations: 0.6963 MB / 0.5714 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.375, allocations: 11.73 kB / 0.5714 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.375, allocations: 7.438 kB / 0.5714 GB, free: 9.789 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.375, allocations: 0 / 0.5714 GB, free: 9.789 MB / 414.1 MB Notification: Performance of Templates: time 0.004004/0.379, allocations: 1.145 MB / 0.5725 GB, free: 8.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.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.180395499803126]