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.006206/0.006206, allocations: 107.2 kB / 21.98 MB, free: 5.223 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.001717/0.001717, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.419/1.419, allocations: 230.5 MB / 258.9 MB, free: 8.023 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.2273/0.2273, allocations: 46.93 MB / 362.3 MB, free: 4.203 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-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.003533/0.003533, allocations: 83.86 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3036, allocations: 66.07 MB / 0.5627 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003198/0.3068, allocations: 1.744 MB / 0.5644 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001704/0.3069, allocations: 91.66 kB / 0.5645 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.307, allocations: 0 / 0.5645 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.376e-05/0.307, allocations: 15.86 kB / 0.5645 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.3071, allocations: 19.78 kB / 0.5645 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.276e-05/0.3072, allocations: 27.97 kB / 0.5646 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.3074, allocations: 111.6 kB / 0.5647 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3075, allocations: 43.89 kB / 0.5647 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.3076, allocations: 39.86 kB / 0.5647 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.3077, allocations: 55.75 kB / 0.5648 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.3077, allocations: 16 kB / 0.5648 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.931e-05/0.3077, allocations: 12 kB / 0.5648 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.3078, allocations: 27.92 kB / 0.5649 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.3078, allocations: 43.8 kB / 0.5649 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.308, allocations: 121.9 kB / 0.565 GB, free: 1.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.308, allocations: 0 / 0.565 GB, free: 1.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.308, allocations: 0 / 0.565 GB, free: 1.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.308, allocations: 3.938 kB / 0.565 GB, free: 1.875 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.0006572/0.3087, allocations: 349.9 kB / 0.5654 GB, free: 1.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3087, allocations: 12.03 kB / 0.5654 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3087, allocations: 8.891 kB / 0.5654 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3089, allocations: 114.4 kB / 0.5655 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3089, allocations: 12.31 kB / 0.5655 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3089, allocations: 12.38 kB / 0.5655 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.3092, allocations: 118.1 kB / 0.5656 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3092, allocations: 4.188 kB / 0.5656 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3092, allocations: 11.94 kB / 0.5656 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3093, allocations: 0 / 0.5656 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.3096, allocations: 107.8 kB / 0.5657 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.3104, allocations: 446.5 kB / 0.5662 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.3106, allocations: 82.47 kB / 0.5662 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.3109, allocations: 52.94 kB / 0.5663 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.3109, allocations: 11.98 kB / 0.5663 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3109, allocations: 38.56 kB / 0.5663 GB, free: 396 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3109, allocations: 0 / 0.5663 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007805/0.3117, allocations: 194.2 kB / 0.5665 GB, free: 192 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3117, allocations: 51.41 kB / 0.5666 GB, free: 128 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3119, allocations: 125.8 kB / 0.5667 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3119, allocations: 25.7 kB / 0.5667 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.312, allocations: 112.2 kB / 0.5668 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.312, allocations: 19.8 kB / 0.5668 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.312, allocations: 17.72 kB / 0.5669 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3122, allocations: 322.8 kB / 0.5672 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3124, allocations: 39.95 kB / 0.5672 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.3125, allocations: 54.55 kB / 0.5673 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.3128, allocations: 98.38 kB / 0.5674 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.3128, allocations: 7.938 kB / 0.5674 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004007/0.3132, allocations: 142.4 kB / 0.5675 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3132, allocations: 8 kB / 0.5675 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3133, allocations: 0 / 0.5675 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.3134, allocations: 24.84 kB / 0.5675 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3135, allocations: 19.97 kB / 0.5675 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.3147, allocations: 1.295 MB / 0.5688 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3148, allocations: 16.02 kB / 0.5688 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.3148, allocations: 4 kB / 0.5688 GB, free: 13.62 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.0001052/0.3149, allocations: 125.8 kB / 0.5689 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.3149, allocations: 11.89 kB / 0.569 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.3149, allocations: 8.688 kB / 0.569 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3149, allocations: 0 / 0.569 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3149, allocations: 4 kB / 0.569 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.315, allocations: 8.125 kB / 0.569 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/0.3156, allocations: 395.1 kB / 0.5694 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.3156, allocations: 7.984 kB / 0.5694 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.69e-05/0.3157, allocations: 11.98 kB / 0.5694 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.972e-05/0.3158, allocations: 24.84 kB / 0.5694 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3158, allocations: 0 / 0.5694 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.3168, allocations: 1.303 MB / 0.5707 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3168, allocations: 4.031 kB / 0.5707 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.3173, allocations: 241.1 kB / 0.5709 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.3173, allocations: 3.953 kB / 0.5709 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.3173, allocations: 4 kB / 0.5709 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3174, allocations: 15.98 kB / 0.5709 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.3175, allocations: 7.984 kB / 0.5709 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-06/0.3175, allocations: 4 kB / 0.5709 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.421e-05/0.3175, allocations: 91.27 kB / 0.571 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3175, allocations: 0 / 0.571 GB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.3178, allocations: 35.83 kB / 0.5711 GB, free: 11.13 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.0001133/0.3179, allocations: 95.23 kB / 0.5712 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005239/0.3184, allocations: 210.7 kB / 0.5714 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3184, allocations: 0 / 0.5714 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.3187, allocations: 158.7 kB / 0.5715 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3191, allocations: 16.17 kB / 0.5715 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.3196, allocations: 246.6 kB / 0.5718 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3199, allocations: 0.6963 MB / 0.5724 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.32, allocations: 19.42 kB / 0.5725 GB, free: 9.613 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.32, allocations: 0 / 0.5725 GB, free: 9.613 MB / 414.1 MB Notification: Performance of Templates: time 0.003739/0.3237, allocations: 1.601 MB / 0.574 GB, free: 8.012 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 -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/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-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: 7.764954873127863]