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.001001/0.001001, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009288/0.0009288, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9716/0.9716, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.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.2602/0.2602, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.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.834e-06/1.834e-06, allocations: 0 / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.309e-05, allocations: 2.312 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002506/0.002529, allocations: 1.777 MB / 327.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001757/0.002705, allocations: 83.61 kB / 327.7 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.002749, allocations: 0 / 327.7 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.943e-05/0.002798, allocations: 23.86 kB / 327.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.002869, allocations: 23.77 kB / 327.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.27e-05/0.002961, allocations: 23.97 kB / 327.8 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.003087, allocations: 107.6 kB / 327.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.003211, allocations: 47.88 kB / 328 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.003303, allocations: 63.88 kB / 328 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.00337, allocations: 35.89 kB / 328.1 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.003397, allocations: 12 kB / 328.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.003411, allocations: 12 kB / 328.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.003437, allocations: 31.91 kB / 328.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.003475, allocations: 31.92 kB / 328.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.0036, allocations: 75.73 kB / 328.2 MB, free: 4.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003601, allocations: 0 / 328.2 MB, free: 4.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003602, allocations: 0 / 328.2 MB, free: 4.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.003605, allocations: 0 / 328.2 MB, free: 4.832 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.0003538/0.003959, allocations: 314.6 kB / 328.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.00399, allocations: 8.031 kB / 328.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.004023, allocations: 16.92 kB / 328.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.624e-05/0.0041, allocations: 121.6 kB / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.00411, allocations: 8.375 kB / 328.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.004346, allocations: 12.38 kB / 328.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.004506, allocations: 94.89 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004513, allocations: 192 / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.004525, allocations: 8.375 kB / 328.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.00453, allocations: 384 / 328.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.004574, allocations: 27.86 kB / 328.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.005012, allocations: 318.9 kB / 329.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.361e-05/0.005095, allocations: 38.58 kB / 329.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.005158, allocations: 28.97 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.005166, allocations: 0 / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.005189, allocations: 38.55 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.01e-07/0.00519, allocations: 0 / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002602/0.00545, allocations: 90.39 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.005475, allocations: 55.41 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.00554, allocations: 118.7 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.005552, allocations: 29.7 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.005597, allocations: 103.9 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.005616, allocations: 31.77 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.005648, allocations: 13.72 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.693e-05/0.005725, allocations: 322.8 kB / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.005741, allocations: 4 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.005769, allocations: 30.52 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.005819, allocations: 38.55 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.005822, allocations: 0 / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001182/0.00594, allocations: 78.34 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.005951, allocations: 8 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.005955, allocations: 0 / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/0.00607, allocations: 20.84 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.006131, allocations: 11.98 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000631/0.006762, allocations: 1.176 MB / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.006805, allocations: 20.23 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.006809, allocations: 0 / 331.4 MB, free: 1.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 6.522e-05/0.006874, allocations: 117.8 kB / 331.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.006896, allocations: 4 kB / 331.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.358e-05/0.006909, allocations: 12.44 kB / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.00691, allocations: 0 / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.006915, allocations: 4 kB / 331.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006919, allocations: 8.016 kB / 331.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.007199, allocations: 244.3 kB / 331.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007201, allocations: 4 kB / 331.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.007239, allocations: 11.94 kB / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-05/0.007298, allocations: 16.84 kB / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.007304, allocations: 0 / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000568/0.007872, allocations: 1.178 MB / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007873, allocations: 0 / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.007997, allocations: 177.1 kB / 333.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.008004, allocations: 7.953 kB / 333.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-06/0.008013, allocations: 4 kB / 333.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.141e-05/0.008075, allocations: 4 kB / 333.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.008108, allocations: 15.97 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.008112, allocations: 128 / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.714e-05/0.008129, allocations: 15.48 kB / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008129, allocations: 0 / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.00835, allocations: 27.97 kB / 333.2 MB, free: 15.41 MB / 314.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 7.819e-05/0.008428, allocations: 76.42 kB / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.008603, allocations: 159.3 kB / 333.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.008606, allocations: 4 kB / 333.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.267e-05/0.008679, allocations: 123.5 kB / 333.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.008854, allocations: 24.62 kB / 333.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.009164, allocations: 211.4 kB / 333.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.009206, allocations: 67.33 kB / 333.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.286e-05/0.009229, allocations: 0 / 333.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.009277, allocations: 51.38 kB / 333.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009278, allocations: 4 kB / 333.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Templates: time 0.003006/0.01228, allocations: 1.134 MB / 335 MB, free: 13.5 MB / 314.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 -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.8985286760143936]