Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001525/0.001525, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001755/0.001755, allocations: 215.7 kB / 25.13 MB, free: 3.582 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.5/1.5, allocations: 230.2 MB / 258.5 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.94 MB / 361.8 MB, free: 4.391 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 79.88 kB / 0.4975 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3857, allocations: 66.05 MB / 0.562 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00435/0.39, allocations: 2.507 MB / 0.5644 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.3922, allocations: 1.113 MB / 0.5655 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3923, allocations: 4 kB / 0.5655 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.3937, allocations: 0.4971 MB / 0.566 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.394, allocations: 111.2 kB / 0.5661 GB, free: 300 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.395, allocations: 494.1 kB / 0.5666 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.3954, allocations: 227 kB / 0.5668 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.3958, allocations: 210.3 kB / 0.567 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.396, allocations: 107.6 kB / 0.5671 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.3963, allocations: 119.5 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.3963, allocations: 28 kB / 0.5672 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.3967, allocations: 147.9 kB / 0.5674 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.3967, allocations: 59.77 kB / 0.5674 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3968, allocations: 103.5 kB / 0.5675 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.3974, allocations: 405.4 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3974, allocations: 0 / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3974, allocations: 0 / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3974, allocations: 0 / 0.5679 GB, free: 14.43 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.001378/0.3988, allocations: 0.556 MB / 0.5685 GB, free: 13.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3988, allocations: 8.031 kB / 0.5685 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003376/0.3991, allocations: 48.77 kB / 0.5685 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.3994, allocations: 138.1 kB / 0.5687 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3994, allocations: 24.86 kB / 0.5687 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.3995, allocations: 24.38 kB / 0.5687 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.4002, allocations: 290.9 kB / 0.569 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4002, allocations: 0 / 0.569 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.4002, allocations: 12 kB / 0.569 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4002, allocations: 4 kB / 0.569 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005999/0.4008, allocations: 233.5 kB / 0.5692 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.4024, allocations: 0.93 MB / 0.5701 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.4029, allocations: 207 kB / 0.5703 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.4033, allocations: 125.6 kB / 0.5704 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.4034, allocations: 15.97 kB / 0.5705 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.4035, allocations: 38.56 kB / 0.5705 GB, free: 11.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.4035, allocations: 0 / 0.5705 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001219/0.4047, allocations: 351.3 kB / 0.5708 GB, free: 11.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.4047, allocations: 85.05 kB / 0.5709 GB, free: 11.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.4049, allocations: 140.1 kB / 0.571 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4049, allocations: 29.7 kB / 0.5711 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.405, allocations: 148.3 kB / 0.5712 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.4051, allocations: 71.33 kB / 0.5713 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.4052, allocations: 37.7 kB / 0.5713 GB, free: 10.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4053, allocations: 330.9 kB / 0.5716 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.4056, allocations: 63.95 kB / 0.5717 GB, free: 10.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.4058, allocations: 121.9 kB / 0.5718 GB, free: 10.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.4063, allocations: 215.9 kB / 0.572 GB, free: 9.977 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4063, allocations: 112 / 0.572 GB, free: 9.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006893/0.407, allocations: 287 kB / 0.5723 GB, free: 9.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4071, allocations: 4 kB / 0.5723 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4071, allocations: 4 kB / 0.5723 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002238/0.4073, allocations: 45.69 kB / 0.5723 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.4075, allocations: 47.95 kB / 0.5724 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.4101, allocations: 2.637 MB / 0.575 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.4103, allocations: 31.86 kB / 0.575 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4103, allocations: 8 kB / 0.575 GB, free: 6.668 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.0001888/0.4105, allocations: 147 kB / 0.5751 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.4105, allocations: 11.95 kB / 0.5751 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.4112, allocations: 262.4 kB / 0.5754 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4112, allocations: 4 kB / 0.5754 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4112, allocations: 3.984 kB / 0.5754 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4112, allocations: 0 / 0.5754 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.4125, allocations: 0.6179 MB / 0.576 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4125, allocations: 7.922 kB / 0.576 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.4127, allocations: 31.92 kB / 0.576 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.4128, allocations: 49.69 kB / 0.5761 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.4129, allocations: 8 kB / 0.5761 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.4151, allocations: 2.637 MB / 0.5787 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4151, allocations: 4.031 kB / 0.5787 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.4161, allocations: 0.5128 MB / 0.5792 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.4161, allocations: 15.92 kB / 0.5792 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.4161, allocations: 12.06 kB / 0.5792 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4163, allocations: 15.98 kB / 0.5792 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.4164, allocations: 19.91 kB / 0.5792 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.4164, allocations: 8 kB / 0.5793 GB, free: 1.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.4165, allocations: 107.2 kB / 0.5794 GB, free: 1.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4165, allocations: 0 / 0.5794 GB, free: 1.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.417, allocations: 75.78 kB / 0.5794 GB, free: 1.785 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.0002651/0.4173, allocations: 123.1 kB / 0.5795 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.4181, allocations: 412.5 kB / 0.5799 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4181, allocations: 0 / 0.5799 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.4185, allocations: 325.7 kB / 0.5802 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.419, allocations: 27.5 kB / 0.5803 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009215/0.4199, allocations: 474.5 kB / 0.5807 GB, free: 372 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.4203, allocations: 0.744 MB / 0.5815 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.4205, allocations: 9.422 kB / 0.5815 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.4205, allocations: 19.44 kB / 0.5815 GB, free: 15.57 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4205, allocations: 0 / 0.5815 GB, free: 15.57 MB / 430.1 MB Notification: Performance of Templates: time 0.006825/0.4273, allocations: 2.515 MB / 0.5839 GB, free: 13.05 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.3111680910224095]