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.0008196/0.0008196, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.001994, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007379/0.0007379, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001744, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.043/1.043, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08243/1.125, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] 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.2571/0.2571, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02716/0.2843, allocations: 13.24 MB / 292.6 MB, free: 6.473 MB / 282.7 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 1.824e-06/1.824e-06, allocations: 0 / 293.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.593e-05, allocations: 5.094 kB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003858/0.003884, allocations: 1.81 MB / 295.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002523/0.004136, allocations: 91.66 kB / 295.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.004195, allocations: 0 / 295.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.819e-05/0.004253, allocations: 23.8 kB / 295.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.004316, allocations: 23.72 kB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.004428, allocations: 23.97 kB / 295.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.004605, allocations: 103.6 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.004763, allocations: 52.69 kB / 296 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.004898, allocations: 67.88 kB / 296 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.004981, allocations: 39.89 kB / 296.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.00501, allocations: 8 kB / 296.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.005029, allocations: 12 kB / 296.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.005055, allocations: 19.94 kB / 296.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.005101, allocations: 27.94 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.00526, allocations: 71.75 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.099e-05/0.005281, allocations: 0 / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005282, allocations: 0 / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.496e-05/0.005307, allocations: 4 kB / 296.2 MB, free: 2.844 MB / 282.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.0006087/0.005916, allocations: 329.4 kB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.005971, allocations: 8.031 kB / 296.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.006028, allocations: 24.86 kB / 296.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.006157, allocations: 118.6 kB / 296.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.006175, allocations: 8.375 kB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.006194, allocations: 12.38 kB / 296.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.006418, allocations: 102.7 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.006429, allocations: 4.188 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.006443, allocations: 4.375 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.00645, allocations: 4.375 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.006514, allocations: 19.94 kB / 296.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.007119, allocations: 303.1 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.007231, allocations: 42.56 kB / 297.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.007404, allocations: 32.91 kB / 297.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.007421, allocations: 4 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.00745, allocations: 34.56 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.007452, allocations: 0 / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003312/0.007783, allocations: 94.38 kB / 297.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.007809, allocations: 51.41 kB / 297.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.007878, allocations: 115.2 kB / 297.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.007887, allocations: 25.7 kB / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.007935, allocations: 115.8 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.007953, allocations: 19.86 kB / 297.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.007987, allocations: 25.69 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.008072, allocations: 314.8 kB / 298 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.008085, allocations: 4 kB / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.008112, allocations: 30.55 kB / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/0.008154, allocations: 38.5 kB / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.008156, allocations: 0 / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001047/0.008261, allocations: 74.41 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.008277, allocations: 12.06 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.008282, allocations: 0 / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.008405, allocations: 24.83 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.008476, allocations: 15.92 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006621/0.009138, allocations: 1.174 MB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.009177, allocations: 8.25 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.009183, allocations: 8.156 kB / 299.4 MB, free: 15.41 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 9.712e-05/0.00928, allocations: 117.8 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.009295, allocations: 8 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.146e-05/0.009306, allocations: 8.438 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.009307, allocations: 4 kB / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.00931, allocations: 0 / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.009312, allocations: 0 / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.009532, allocations: 252.3 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.009534, allocations: 0 / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.009563, allocations: 12.03 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.009568, allocations: 8.078 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.457e-05/0.009623, allocations: 20.83 kB / 299.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.009629, allocations: 7.938 kB / 299.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005566/0.01019, allocations: 1.177 MB / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01019, allocations: 0 / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.01029, allocations: 177.1 kB / 301.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-06/0.01029, allocations: 4.031 kB / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.01033, allocations: 12 kB / 301.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.01036, allocations: 3.984 kB / 301.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.01037, allocations: 4.125 kB / 301.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.716e-05/0.01039, allocations: 28.44 kB / 301.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01039, allocations: 0 / 301.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.01052, allocations: 19.95 kB / 301.2 MB, free: 13.4 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.845e-05/0.01061, allocations: 73.08 kB / 301.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.01079, allocations: 159.4 kB / 301.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.0108, allocations: 0 / 301.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.01086, allocations: 135.4 kB / 301.6 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.01103, allocations: 18.44 kB / 301.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.01167, allocations: 221.2 kB / 301.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.159e-05/0.0117, allocations: 71.22 kB / 301.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.385e-05/0.01173, allocations: 7.984 kB / 301.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.01177, allocations: 51.38 kB / 301.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01177, allocations: 0 / 301.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of Templates: time 0.002764/0.01454, allocations: 1.16 MB / 303.1 MB, free: 11.46 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8638312220573425]