Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 46.96 MB / 361.6 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3991, allocations: 66.03 MB / 0.5618 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003232/0.4024, allocations: 1.698 MB / 0.5635 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001989/0.4026, allocations: 83.67 kB / 0.5635 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.4026, allocations: 0 / 0.5635 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.829e-05/0.4027, allocations: 11.86 kB / 0.5635 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.4028, allocations: 27.78 kB / 0.5636 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.4029, allocations: 27.97 kB / 0.5636 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.403, allocations: 107.6 kB / 0.5637 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.4032, allocations: 47.94 kB / 0.5637 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.4033, allocations: 39.86 kB / 0.5638 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.4034, allocations: 47.83 kB / 0.5638 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.4034, allocations: 12 kB / 0.5638 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.309e-05/0.4034, allocations: 12 kB / 0.5639 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.4035, allocations: 27.92 kB / 0.5639 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.4035, allocations: 39.8 kB / 0.5639 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.4037, allocations: 126.2 kB / 0.564 GB, free: 2.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4037, allocations: 0 / 0.564 GB, free: 2.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4037, allocations: 0 / 0.564 GB, free: 2.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.4038, allocations: 0 / 0.564 GB, free: 2.031 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.000683/0.4044, allocations: 353.8 kB / 0.5644 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4045, allocations: 8.031 kB / 0.5644 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.4045, allocations: 8.891 kB / 0.5644 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.4047, allocations: 122.4 kB / 0.5645 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4047, allocations: 16.38 kB / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.4047, allocations: 4.375 kB / 0.5645 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.405, allocations: 127.8 kB / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4051, allocations: 192 / 0.5647 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.4051, allocations: 3.938 kB / 0.5647 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4051, allocations: 4 kB / 0.5647 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.4054, allocations: 111.8 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.4062, allocations: 391.1 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.4065, allocations: 74.47 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.4067, allocations: 68.92 kB / 0.5653 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4067, allocations: 0 / 0.5653 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4067, allocations: 34.56 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.838e-06/0.4067, allocations: 3.984 kB / 0.5653 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007987/0.4075, allocations: 194.2 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.4076, allocations: 51.41 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4077, allocations: 113.8 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4077, allocations: 29.7 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.4078, allocations: 104 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.4078, allocations: 27.78 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.4079, allocations: 17.72 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.408, allocations: 318.8 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.4082, allocations: 39.95 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.4083, allocations: 62.52 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.4086, allocations: 94.45 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4086, allocations: 3.984 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003965/0.409, allocations: 150.3 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.409, allocations: 8 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.409, allocations: 0 / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.4092, allocations: 20.84 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4093, allocations: 23.92 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.4105, allocations: 1.273 MB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.633e-05/0.4106, allocations: 12.36 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4106, allocations: 4 kB / 0.5678 GB, free: 13.89 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.0001077/0.4107, allocations: 121.8 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.4107, allocations: 7.953 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.4108, allocations: 16.25 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4108, allocations: 8.062 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4108, allocations: 0 / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4108, allocations: 0 / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.4114, allocations: 359.8 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4114, allocations: 0 / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.4115, allocations: 15.98 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-05/0.4116, allocations: 28.86 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4116, allocations: 0 / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009767/0.4126, allocations: 1.268 MB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4126, allocations: 0 / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.413, allocations: 245.2 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.413, allocations: 15.95 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.413, allocations: 4 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4131, allocations: 11.98 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.4132, allocations: 11.98 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4132, allocations: 0 / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.819e-05/0.4132, allocations: 91.27 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4132, allocations: 0 / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.4135, allocations: 27.94 kB / 0.5699 GB, free: 11.5 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.0001085/0.4136, allocations: 102.4 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.4142, allocations: 198.5 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4142, allocations: 8 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.4144, allocations: 158.7 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.4147, allocations: 15.94 kB / 0.5704 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.4152, allocations: 209.3 kB / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.557e-05/0.4153, allocations: 85.31 kB / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.768e-05/0.4154, allocations: 8.172 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.4154, allocations: 11.44 kB / 0.5707 GB, free: 10.63 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4154, allocations: 3.938 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Templates: time 0.00408/0.4195, allocations: 1.246 MB / 0.5719 GB, free: 9.395 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.187075402005576]