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.001484/0.001484, 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.001802/0.001802, allocations: 217.4 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.574/1.574, allocations: 230.2 MB / 257.8 MB, free: 8.484 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.2868/0.2868, allocations: 46.89 MB / 361.1 MB, free: 4.621 MB / 286.1 MB " [Timeout remaining time 179] 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.00239/0.00239, allocations: 83.81 kB / 0.4967 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.376, allocations: 65.97 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00331/0.3793, allocations: 1.763 MB / 0.5629 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002119/0.3795, allocations: 79.72 kB / 0.563 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.3795, allocations: 4 kB / 0.563 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.351e-05/0.3796, allocations: 15.8 kB / 0.563 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.445e-05/0.3797, allocations: 23.8 kB / 0.563 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.3798, allocations: 31.95 kB / 0.563 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.38, allocations: 103.6 kB / 0.5631 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.3801, allocations: 43.95 kB / 0.5632 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.978e-05/0.3802, allocations: 47.84 kB / 0.5632 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.3803, allocations: 47.83 kB / 0.5633 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.3803, allocations: 12 kB / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.3804, allocations: 12 kB / 0.5633 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.3804, allocations: 19.92 kB / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.3805, allocations: 51.73 kB / 0.5634 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.3806, allocations: 122.2 kB / 0.5635 GB, free: 2.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3806, allocations: 0 / 0.5635 GB, free: 2.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3806, allocations: 0 / 0.5635 GB, free: 2.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3806, allocations: 0 / 0.5635 GB, free: 2.668 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.0006721/0.3813, allocations: 427 kB / 0.5639 GB, free: 2.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3814, allocations: 8.031 kB / 0.5639 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.3814, allocations: 12.89 kB / 0.5639 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3815, allocations: 180.2 kB / 0.5641 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.3816, allocations: 8.375 kB / 0.5641 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3816, allocations: 8.375 kB / 0.5641 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.3819, allocations: 122.1 kB / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3819, allocations: 192 / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3819, allocations: 7.938 kB / 0.5642 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.382, allocations: 0 / 0.5642 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.3823, allocations: 115.8 kB / 0.5643 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.3831, allocations: 471.3 kB / 0.5648 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.3834, allocations: 82.53 kB / 0.5649 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.3836, allocations: 56.94 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3836, allocations: 0 / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3837, allocations: 38.55 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.935e-06/0.3837, allocations: 3.984 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008509/0.3845, allocations: 271.5 kB / 0.5652 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3846, allocations: 59.39 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3847, allocations: 125.8 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3847, allocations: 25.7 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.3848, allocations: 108.2 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.3848, allocations: 23.8 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.3848, allocations: 21.7 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.385, allocations: 310.8 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3852, allocations: 43.94 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.3854, allocations: 66.53 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3857, allocations: 98.45 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3857, allocations: 3.938 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004247/0.3861, allocations: 150.3 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3861, allocations: 4 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3861, allocations: 0 / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.3863, allocations: 28.91 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3864, allocations: 15.98 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.3876, allocations: 1.403 MB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3877, allocations: 15.98 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3877, allocations: 0 / 0.5676 GB, free: 13.98 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.0001061/0.3878, allocations: 113.8 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.3879, allocations: 11.89 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.3879, allocations: 12.36 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3879, allocations: 8.062 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.3879, allocations: 0 / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3879, allocations: 0 / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.3886, allocations: 424.3 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3886, allocations: 4 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.3887, allocations: 19.95 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.255e-05/0.3888, allocations: 28.83 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3888, allocations: 0 / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3899, allocations: 1.402 MB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.586e-05/0.3899, allocations: 4.031 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.3904, allocations: 241.1 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.3905, allocations: 85.05 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3905, allocations: 4 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3906, allocations: 7.984 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.3906, allocations: 15.92 kB / 0.5699 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3906, allocations: 4 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.3908, allocations: 91.27 kB / 0.57 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3908, allocations: 4 kB / 0.57 GB, free: 11.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.391, allocations: 35.83 kB / 0.5701 GB, free: 11.23 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.0001032/0.3911, allocations: 91.25 kB / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.3917, allocations: 210.6 kB / 0.5704 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3917, allocations: 0 / 0.5704 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.392, allocations: 158.6 kB / 0.5705 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3923, allocations: 4 kB / 0.5705 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.3928, allocations: 221.2 kB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3931, allocations: 0.6963 MB / 0.5714 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.777e-05/0.3931, allocations: 11.88 kB / 0.5714 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.3932, allocations: 7.438 kB / 0.5714 GB, free: 9.758 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3932, allocations: 0 / 0.5714 GB, free: 9.758 MB / 414.1 MB Notification: Performance of Templates: time 0.004203/0.3974, allocations: 1.162 MB / 0.5725 GB, free: 8.602 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 cvode -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.298531257081777]