Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.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.001032/0.001032, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005436/0.006468, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001216/0.001216, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001835/0.003051, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.112/1.112, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1054/1.217, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3122/0.3122, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02799/0.3402, allocations: 13.11 MB / 291.5 MB, free: 7.328 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 3.938 kB / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.946e-05, allocations: 4.406 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004137/0.004167, allocations: 2.538 MB / 295.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.005735, allocations: 1.09 MB / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.846e-05/0.005814, allocations: 4 kB / 296.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007024/0.006516, allocations: 0.5249 MB / 297 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.006722, allocations: 107.2 kB / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.007263, allocations: 466 kB / 297.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.007529, allocations: 226.9 kB / 297.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.007877, allocations: 233.8 kB / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.008098, allocations: 159.6 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.00823, allocations: 95.7 kB / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.00826, allocations: 24 kB / 298.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.00852, allocations: 151.8 kB / 298.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.008552, allocations: 35.88 kB / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.008602, allocations: 63.88 kB / 298.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.008909, allocations: 279.1 kB / 298.8 MB, free: 244 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.008921, allocations: 0 / 298.8 MB, free: 244 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.008922, allocations: 0 / 298.8 MB, free: 244 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.008933, allocations: 4 kB / 298.8 MB, free: 240 kB / 282.7 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.0008851/0.009818, allocations: 0.662 MB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.009849, allocations: 12.03 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.01009, allocations: 84.77 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.01019, allocations: 137.4 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.01021, allocations: 20.88 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.01025, allocations: 24.38 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.01049, allocations: 220 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.0105, allocations: 192 / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.01052, allocations: 8.375 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.01053, allocations: 7.938 kB / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.01063, allocations: 77.69 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.01144, allocations: 0.6506 MB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.01163, allocations: 161.6 kB / 300.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.01172, allocations: 65.67 kB / 300.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.991e-05/0.01179, allocations: 19.98 kB / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.01181, allocations: 35.5 kB / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.122e-06/0.01181, allocations: 0 / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003474/0.01216, allocations: 197.2 kB / 301.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.01219, allocations: 88.98 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.01226, allocations: 128.9 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.01228, allocations: 29.7 kB / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.01233, allocations: 148.3 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.01237, allocations: 67.42 kB / 301.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.01242, allocations: 37.69 kB / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.0125, allocations: 330.7 kB / 302 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.01252, allocations: 12 kB / 302 MB, free: 12.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.01257, allocations: 69.36 kB / 302 MB, free: 12.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.822e-05/0.01267, allocations: 125.4 kB / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01267, allocations: 0 / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001562/0.01283, allocations: 147.3 kB / 302.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.01285, allocations: 11.94 kB / 302.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.01285, allocations: 0 / 302.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/0.01298, allocations: 37.69 kB / 302.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.01307, allocations: 47.92 kB / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.01413, allocations: 2.365 MB / 304.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.01419, allocations: 19.94 kB / 304.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.0142, allocations: 7.938 kB / 304.8 MB, free: 9.789 MB / 298.7 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 7.698e-05/0.01427, allocations: 121.8 kB / 304.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.0143, allocations: 11.98 kB / 304.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.01448, allocations: 149.7 kB / 305.1 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.01448, allocations: 0 / 305.1 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01448, allocations: 4 kB / 305.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01449, allocations: 3.938 kB / 305.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.01486, allocations: 366 kB / 305.4 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01486, allocations: 4 kB / 305.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.01494, allocations: 35.97 kB / 305.5 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.01495, allocations: 15.83 kB / 305.5 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.836e-05/0.01503, allocations: 45.75 kB / 305.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.01504, allocations: 4 kB / 305.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009401/0.01598, allocations: 2.353 MB / 307.9 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01598, allocations: 0 / 307.9 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.01621, allocations: 354.4 kB / 308.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.01622, allocations: 4 kB / 308.2 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.0163, allocations: 11.94 kB / 308.2 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.01634, allocations: 24.09 kB / 308.3 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.01635, allocations: 4 kB / 308.3 MB, free: 6.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.847e-05/0.01637, allocations: 20.83 kB / 308.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01637, allocations: 4 kB / 308.3 MB, free: 6.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.01659, allocations: 75.78 kB / 308.4 MB, free: 5.93 MB / 298.7 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.0001514/0.01675, allocations: 108.4 kB / 308.5 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.01702, allocations: 328.5 kB / 308.8 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.01702, allocations: 4 kB / 308.8 MB, free: 5.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.01718, allocations: 286 kB / 309.1 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.01742, allocations: 93.8 kB / 309.2 MB, free: 5.055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.01943, allocations: 450 kB / 309.6 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.214e-05/0.01948, allocations: 80.22 kB / 309.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.461e-05/0.01953, allocations: 13.14 kB / 309.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.01958, allocations: 63.38 kB / 309.8 MB, free: 4.402 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01958, allocations: 0 / 309.8 MB, free: 4.402 MB / 298.7 MB Notification: Performance of Templates: time 0.00459/0.02417, allocations: 2.538 MB / 312.3 MB, free: 1.914 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4381437711417675]