Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00181/0.00181, allocations: 77.62 kB / 21.25 MB, free: 0.5469 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.002206/0.002206, allocations: 158.8 kB / 24.5 MB, free: 3.719 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.555/1.555, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.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.2165/0.2165, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 79.86 kB / 443.1 MB, free: 6.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3507, allocations: 66.05 MB / 0.4972 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002437/0.3531, allocations: 1.717 MB / 0.4989 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001451/0.3533, allocations: 90.03 kB / 0.499 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.3534, allocations: 0 / 0.499 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.815e-05/0.3534, allocations: 14.56 kB / 0.499 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.3535, allocations: 18.7 kB / 0.499 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.3536, allocations: 28.92 kB / 0.4991 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3537, allocations: 112.7 kB / 0.4992 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.3539, allocations: 32.33 kB / 0.4992 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.3539, allocations: 50.55 kB / 0.4993 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.354, allocations: 42.92 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.354, allocations: 12.56 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.354, allocations: 9.531 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.354, allocations: 22.72 kB / 0.4993 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.3541, allocations: 46.75 kB / 0.4994 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.3542, allocations: 114.9 kB / 0.4995 GB, free: 28.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3542, allocations: 4 kB / 0.4995 GB, free: 28.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3542, allocations: 0 / 0.4995 GB, free: 28.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3542, allocations: 0 / 0.4995 GB, free: 28.3 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.000519/0.3547, allocations: 347 kB / 0.4998 GB, free: 28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3548, allocations: 9.719 kB / 0.4998 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3548, allocations: 11.42 kB / 0.4998 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.823e-05/0.3549, allocations: 120.7 kB / 0.5 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3549, allocations: 7.5 kB / 0.5 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3549, allocations: 14.91 kB / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.3552, allocations: 120.4 kB / 0.5001 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3552, allocations: 192 / 0.5001 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3552, allocations: 7.938 kB / 0.5001 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3552, allocations: 3.188 kB / 0.5001 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.3556, allocations: 113.8 kB / 0.5002 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.3562, allocations: 389.1 kB / 0.5006 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.3564, allocations: 80.89 kB / 0.5007 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.3566, allocations: 57.95 kB / 0.5007 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.3566, allocations: 4 kB / 0.5007 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.3567, allocations: 33.66 kB / 0.5008 GB, free: 27.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.3567, allocations: 3.984 kB / 0.5008 GB, free: 27.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007543/0.3574, allocations: 202.1 kB / 0.501 GB, free: 27.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.3574, allocations: 51.41 kB / 0.501 GB, free: 27.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.3575, allocations: 109.9 kB / 0.5011 GB, free: 27.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.3575, allocations: 25.7 kB / 0.5011 GB, free: 27.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.3575, allocations: 110 kB / 0.5012 GB, free: 26.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.3576, allocations: 19.27 kB / 0.5013 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3576, allocations: 20.12 kB / 0.5013 GB, free: 26.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.3576, allocations: 321.4 kB / 0.5016 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.3578, allocations: 41.98 kB / 0.5016 GB, free: 26.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3579, allocations: 58.8 kB / 0.5017 GB, free: 26.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3582, allocations: 95.3 kB / 0.5018 GB, free: 26.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3582, allocations: 0 / 0.5018 GB, free: 26.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003705/0.3586, allocations: 155.4 kB / 0.5019 GB, free: 26.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3586, allocations: 6.25 kB / 0.5019 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3586, allocations: 0 / 0.5019 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.3587, allocations: 25.14 kB / 0.5019 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3589, allocations: 15.72 kB / 0.502 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000676/0.3595, allocations: 1.277 MB / 0.5032 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.293e-05/0.3596, allocations: 9.828 kB / 0.5032 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3596, allocations: 3.125 kB / 0.5032 GB, free: 25.15 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 6.117e-05/0.3597, allocations: 123.7 kB / 0.5033 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.3597, allocations: 7.141 kB / 0.5033 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/0.3597, allocations: 12.38 kB / 0.5034 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3597, allocations: 0 / 0.5034 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3598, allocations: 7.219 kB / 0.5034 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3598, allocations: 144 / 0.5034 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.3603, allocations: 368.5 kB / 0.5037 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3603, allocations: 384 / 0.5037 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.3604, allocations: 20.44 kB / 0.5037 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.895e-05/0.3604, allocations: 24.77 kB / 0.5038 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.3604, allocations: 4.031 kB / 0.5038 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005739/0.361, allocations: 1.279 MB / 0.505 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.361, allocations: 0 / 0.505 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.3614, allocations: 235 kB / 0.5052 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.3614, allocations: 11.02 kB / 0.5052 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.3614, allocations: 8.062 kB / 0.5053 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3615, allocations: 16.62 kB / 0.5053 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3616, allocations: 6.5 kB / 0.5053 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3616, allocations: 4 kB / 0.5053 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.994e-05/0.3616, allocations: 92.22 kB / 0.5054 GB, free: 23.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3616, allocations: 0 / 0.5054 GB, free: 23.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3619, allocations: 22.59 kB / 0.5054 GB, free: 23.16 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 7.856e-05/0.3619, allocations: 91.75 kB / 0.5055 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.3624, allocations: 206.8 kB / 0.5057 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3624, allocations: 0 / 0.5057 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.3626, allocations: 164.8 kB / 0.5058 GB, free: 22.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3629, allocations: 15.75 kB / 0.5058 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.3633, allocations: 215.3 kB / 0.5061 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.3634, allocations: 82.81 kB / 0.5061 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.141e-05/0.3634, allocations: 10.97 kB / 0.5061 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.3634, allocations: 12.48 kB / 0.5062 GB, free: 22.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3634, allocations: 3.125 kB / 0.5062 GB, free: 22.52 MB / 446.1 MB Notification: Performance of Templates: time 0.003772/0.3672, allocations: 1.143 MB / 0.5073 GB, free: 22.36 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.079209690913558]