Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009911/0.0009911, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001358/0.001358, allocations: 174 kB / 24.92 MB, free: 9.211 MB / 18.57 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2803/0.2803, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.619e-05, allocations: 8.031 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002495/0.002521, allocations: 1.812 MB / 325.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002174/0.002739, allocations: 91.66 kB / 325.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.002784, allocations: 4 kB / 325.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.793e-05/0.002832, allocations: 15.8 kB / 325.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.002898, allocations: 23.78 kB / 325.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.645e-05/0.002994, allocations: 23.97 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.003105, allocations: 115.5 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.003225, allocations: 43.95 kB / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.003315, allocations: 59.88 kB / 325.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.003382, allocations: 39.89 kB / 325.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.003404, allocations: 12 kB / 325.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.003414, allocations: 8 kB / 325.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.003439, allocations: 27.91 kB / 325.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.003472, allocations: 35.92 kB / 325.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003594, allocations: 79.72 kB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003596, allocations: 0 / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003597, allocations: 0 / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.003601, allocations: 0 / 325.6 MB, free: 7.305 MB / 298.7 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.0003609/0.003962, allocations: 317.8 kB / 325.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.003995, allocations: 8.031 kB / 325.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.004027, allocations: 16.92 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.004108, allocations: 121.6 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-06/0.004117, allocations: 4.375 kB / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.004129, allocations: 16.38 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.004273, allocations: 98.89 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.00428, allocations: 4.125 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004288, allocations: 8.375 kB / 326.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.004294, allocations: 4.375 kB / 326.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.004329, allocations: 23.92 kB / 326.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.004741, allocations: 307.6 kB / 326.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.004817, allocations: 38.58 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.004877, allocations: 20.84 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.004886, allocations: 4 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.00491, allocations: 42.48 kB / 326.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.004911, allocations: 0 / 326.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002559/0.005167, allocations: 90.56 kB / 326.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.005195, allocations: 59.34 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/0.005258, allocations: 114.7 kB / 326.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.005269, allocations: 29.7 kB / 326.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.005318, allocations: 107.9 kB / 327 MB, free: 5.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.005332, allocations: 27.78 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.005361, allocations: 25.66 kB / 327.1 MB, free: 5.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.005436, allocations: 318.8 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.005451, allocations: 4 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.005477, allocations: 22.58 kB / 327.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.005522, allocations: 42.48 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005524, allocations: 0 / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001038/0.005628, allocations: 74.41 kB / 327.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.00564, allocations: 4 kB / 327.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.005647, allocations: 8.062 kB / 327.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/0.005758, allocations: 16.84 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.005816, allocations: 15.98 kB / 327.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006306/0.006446, allocations: 1.186 MB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.006485, allocations: 11.92 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.00649, allocations: 7.938 kB / 328.8 MB, free: 3.871 MB / 298.7 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.809e-05/0.006558, allocations: 117.8 kB / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.006575, allocations: 4 kB / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.006589, allocations: 12.44 kB / 328.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.006591, allocations: 0 / 328.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.006594, allocations: 0 / 328.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.006597, allocations: 3.984 kB / 328.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.00683, allocations: 241 kB / 329.1 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.006832, allocations: 0 / 329.1 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.006861, allocations: 8 kB / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-05/0.006922, allocations: 24.88 kB / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-06/0.006929, allocations: 4 kB / 329.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005271/0.007456, allocations: 1.175 MB / 330.4 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.007457, allocations: 4 kB / 330.4 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.007574, allocations: 173.2 kB / 330.5 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.007579, allocations: 3.953 kB / 330.5 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-06/0.007587, allocations: 8 kB / 330.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.007627, allocations: 8.031 kB / 330.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.007661, allocations: 11.98 kB / 330.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.007665, allocations: 3.984 kB / 330.6 MB, free: 1.922 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.767e-05/0.007683, allocations: 20.78 kB / 330.6 MB, free: 1.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.007683, allocations: 0 / 330.6 MB, free: 1.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.007846, allocations: 27.94 kB / 330.6 MB, free: 1.871 MB / 298.7 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.045e-05/0.007927, allocations: 76.36 kB / 330.7 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.008112, allocations: 151.5 kB / 330.8 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.008117, allocations: 7.938 kB / 330.8 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.437e-05/0.008182, allocations: 131.5 kB / 331 MB, free: 1.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.008323, allocations: 16.58 kB / 331 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.008641, allocations: 205.9 kB / 331.2 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.008682, allocations: 71.39 kB / 331.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.389e-05/0.008706, allocations: 0 / 331.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.008764, allocations: 51.38 kB / 331.3 MB, free: 1.082 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008765, allocations: 4 kB / 331.3 MB, free: 1.078 MB / 298.7 MB Notification: Performance of Templates: time 0.002905/0.01167, allocations: 1.15 MB / 332.5 MB, free: 15.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8863722840324044]