Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.001823/0.001823, allocations: 87.66 kB / 20.68 MB, free: 1.02 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.001665/0.001665, allocations: 165.8 kB / 23.95 MB, free: 4.148 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.513/1.513, allocations: 177 MB / 204.1 MB, free: 9.156 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.2314/0.2314, allocations: 34.25 MB / 294.8 MB, free: 14.54 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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.275e-05/4.475e-05, allocations: 2.281 kB / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004877/0.004922, allocations: 2.364 MB / 445 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.007257, allocations: 1.028 MB / 446 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.007366, allocations: 4 kB / 446 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.008836, allocations: 497.6 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.009158, allocations: 115.1 kB / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.01029, allocations: 458 kB / 447.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.01067, allocations: 226.9 kB / 447.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005555/0.01123, allocations: 218.7 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.01152, allocations: 143.7 kB / 447.7 MB, free: 288 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.01169, allocations: 95.7 kB / 447.7 MB, free: 192 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.01174, allocations: 24 kB / 447.8 MB, free: 168 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.01207, allocations: 143.8 kB / 447.9 MB, free: 24 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2577/0.2697, allocations: 44.81 kB / 448 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.2699, allocations: 79.55 kB / 448 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009242/0.2709, allocations: 418 kB / 448.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2709, allocations: 1.125 kB / 448.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2709, allocations: 0 / 448.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.2709, allocations: 0.7812 kB / 448.4 MB, free: 15.66 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001618/0.2725, allocations: 0.5546 MB / 449 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2725, allocations: 9.531 kB / 449 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.2729, allocations: 49.08 kB / 449.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.2731, allocations: 129.1 kB / 449.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2731, allocations: 20.66 kB / 449.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.2732, allocations: 23.72 kB / 449.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.2738, allocations: 291.7 kB / 449.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.2739, allocations: 4.312 kB / 449.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.2739, allocations: 12.7 kB / 449.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2739, allocations: 10.62 kB / 449.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.2745, allocations: 228 kB / 449.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.2759, allocations: 0.8234 MB / 450.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.2764, allocations: 205.4 kB / 450.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.2768, allocations: 126.2 kB / 450.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.2769, allocations: 20.52 kB / 450.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.2769, allocations: 34.23 kB / 451 MB, free: 14.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.2769, allocations: 0 / 451 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001181/0.2781, allocations: 357.4 kB / 451.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.2781, allocations: 84.56 kB / 451.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2782, allocations: 125.7 kB / 451.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2782, allocations: 26.36 kB / 451.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.2783, allocations: 146.1 kB / 451.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.2784, allocations: 74.14 kB / 451.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.2784, allocations: 38.16 kB / 451.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.2785, allocations: 324.9 kB / 452.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.2787, allocations: 70.5 kB / 452.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.279, allocations: 128.2 kB / 452.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.2794, allocations: 210.2 kB / 452.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2794, allocations: 1.375 kB / 452.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006235/0.28, allocations: 271.3 kB / 452.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2801, allocations: 8.406 kB / 452.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2801, allocations: 1.5 kB / 452.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.2803, allocations: 53.19 kB / 452.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.2805, allocations: 43.5 kB / 452.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.2819, allocations: 2.583 MB / 455.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.282, allocations: 28.08 kB / 455.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.2821, allocations: 14.88 kB / 455.5 MB, free: 10.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.2822, allocations: 133.6 kB / 455.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.2822, allocations: 15.42 kB / 455.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/0.2829, allocations: 263.8 kB / 455.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2829, allocations: 2.75 kB / 455.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2829, allocations: 2.25 kB / 455.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2829, allocations: 1.406 kB / 455.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/0.2839, allocations: 0.5598 MB / 456.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2839, allocations: 1.25 kB / 456.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2841, allocations: 36.77 kB / 456.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.2842, allocations: 45.47 kB / 456.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2843, allocations: 8.906 kB / 456.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.2855, allocations: 2.589 MB / 459.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.2855, allocations: 4.078 kB / 459.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/0.2865, allocations: 0.5187 MB / 459.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.2865, allocations: 14.91 kB / 459.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.2865, allocations: 3.016 kB / 459.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.2867, allocations: 24.31 kB / 459.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.2868, allocations: 25.2 kB / 459.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2868, allocations: 4.438 kB / 459.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.525e-05/0.2868, allocations: 99.47 kB / 459.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2868, allocations: 0 / 459.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005459/0.2874, allocations: 77.12 kB / 459.9 MB, free: 7.324 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.000262/0.2877, allocations: 129.6 kB / 460 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008368/0.2885, allocations: 409.6 kB / 460.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2885, allocations: 1.281 kB / 460.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.2889, allocations: 315.6 kB / 460.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.2893, allocations: 15.69 kB / 460.8 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/0.2901, allocations: 440.6 kB / 461.2 MB, free: 6.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2903, allocations: 133.3 kB / 461.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.496e-05/0.2903, allocations: 14.48 kB / 461.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.2904, allocations: 16.53 kB / 461.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2904, allocations: 0 / 461.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of Templates: time 0.007131/0.2975, allocations: 2.375 MB / 463.7 MB, free: 6.016 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.260560072958469]