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.001936/0.001936, allocations: 70.42 kB / 21.24 MB, free: 0.5391 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.002247/0.002247, allocations: 158.5 kB / 24.5 MB, free: 3.711 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.577/1.577, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.2172/0.2172, allocations: 34.28 MB / 295.5 MB, free: 14.57 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+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.00207/0.00207, allocations: 67.89 kB / 443.1 MB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3845, allocations: 66.01 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002855/0.3873, allocations: 1.692 MB / 0.4989 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.3875, allocations: 98.72 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.3876, allocations: 3.219 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.089e-05/0.3877, allocations: 15.28 kB / 0.499 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.554e-05/0.3877, allocations: 22.48 kB / 0.499 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.3879, allocations: 29.67 kB / 0.499 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.3881, allocations: 102.6 kB / 0.4991 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.3883, allocations: 42.8 kB / 0.4992 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.71e-05/0.3883, allocations: 46.3 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.3884, allocations: 47.44 kB / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.3884, allocations: 13.03 kB / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.3885, allocations: 9.469 kB / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.3885, allocations: 26.61 kB / 0.4993 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.3885, allocations: 36.06 kB / 0.4993 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.3887, allocations: 122.7 kB / 0.4995 GB, free: 28.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3887, allocations: 0 / 0.4995 GB, free: 28.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3887, allocations: 0 / 0.4995 GB, free: 28.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3887, allocations: 0 / 0.4995 GB, free: 28.38 MB / 446.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.0005559/0.3892, allocations: 353.3 kB / 0.4998 GB, free: 28.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3893, allocations: 9.719 kB / 0.4998 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3893, allocations: 11.11 kB / 0.4998 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.3894, allocations: 113.4 kB / 0.4999 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3894, allocations: 10.72 kB / 0.4999 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3895, allocations: 6.562 kB / 0.4999 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.3898, allocations: 127.8 kB / 0.5001 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3898, allocations: 192 / 0.5001 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3898, allocations: 11.88 kB / 0.5001 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3898, allocations: 6.672 kB / 0.5001 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.3901, allocations: 103 kB / 0.5002 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.3908, allocations: 397 kB / 0.5005 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.3911, allocations: 72.77 kB / 0.5006 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.3913, allocations: 63.45 kB / 0.5007 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3914, allocations: 0 / 0.5007 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.3914, allocations: 34 kB / 0.5007 GB, free: 27.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.3914, allocations: 0 / 0.5007 GB, free: 27.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000823/0.3922, allocations: 195.6 kB / 0.5009 GB, free: 27.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3922, allocations: 51.41 kB / 0.5009 GB, free: 27.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.3923, allocations: 118.1 kB / 0.5011 GB, free: 27.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3923, allocations: 33.08 kB / 0.5011 GB, free: 27.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.3924, allocations: 102.8 kB / 0.5012 GB, free: 27.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.3924, allocations: 26.42 kB / 0.5012 GB, free: 27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3924, allocations: 16.84 kB / 0.5012 GB, free: 26.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.3925, allocations: 321.5 kB / 0.5015 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.3927, allocations: 34.12 kB / 0.5016 GB, free: 26.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.3928, allocations: 58.41 kB / 0.5016 GB, free: 26.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.3931, allocations: 98.09 kB / 0.5017 GB, free: 26.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3931, allocations: 0 / 0.5017 GB, free: 26.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003666/0.3935, allocations: 153.9 kB / 0.5019 GB, free: 26.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3935, allocations: 6.062 kB / 0.5019 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3935, allocations: 0 / 0.5019 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.3937, allocations: 25.2 kB / 0.5019 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3938, allocations: 19.78 kB / 0.5019 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008021/0.3946, allocations: 1.272 MB / 0.5032 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.3947, allocations: 19.95 kB / 0.5032 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3947, allocations: 4.938 kB / 0.5032 GB, free: 25.22 MB / 446.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 7.883e-05/0.3948, allocations: 119.6 kB / 0.5033 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3948, allocations: 6.766 kB / 0.5033 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.3949, allocations: 13.56 kB / 0.5033 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3949, allocations: 0.8438 kB / 0.5033 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3949, allocations: 1.031 kB / 0.5033 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3949, allocations: 0 / 0.5033 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.3954, allocations: 368.5 kB / 0.5037 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3954, allocations: 3.375 kB / 0.5037 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.171e-05/0.3955, allocations: 13.33 kB / 0.5037 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-05/0.3955, allocations: 22.36 kB / 0.5037 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3955, allocations: 0 / 0.5037 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006115/0.3962, allocations: 1.29 MB / 0.505 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3962, allocations: 3.188 kB / 0.505 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.3966, allocations: 238.8 kB / 0.5052 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.3966, allocations: 7.891 kB / 0.5052 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.3966, allocations: 6.5 kB / 0.5052 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3967, allocations: 9.625 kB / 0.5052 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.3967, allocations: 14.59 kB / 0.5052 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3967, allocations: 3.656 kB / 0.5052 GB, free: 23.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.3968, allocations: 92.8 kB / 0.5053 GB, free: 23.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3968, allocations: 0 / 0.5053 GB, free: 23.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.397, allocations: 26.88 kB / 0.5053 GB, free: 23.23 MB / 446.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 8.538e-05/0.3971, allocations: 97.5 kB / 0.5054 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004996/0.3976, allocations: 206.5 kB / 0.5056 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3976, allocations: 0 / 0.5056 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.3978, allocations: 163.1 kB / 0.5058 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3982, allocations: 6.969 kB / 0.5058 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.3986, allocations: 218.7 kB / 0.506 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.44e-05/0.3987, allocations: 82.27 kB / 0.5061 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.3987, allocations: 10.53 kB / 0.5061 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.3988, allocations: 8.5 kB / 0.5061 GB, free: 22.6 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3988, allocations: 0 / 0.5061 GB, free: 22.6 MB / 446.1 MB Notification: Performance of Templates: time 0.00424/0.403, allocations: 1.136 MB / 0.5072 GB, free: 22.44 MB / 446.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 ida -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.225850519025698]