Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008317/0.0008317, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003253/0.003253, allocations: 160 kB / 24.7 MB, free: 9.43 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 0.9088/0.9088, allocations: 177.1 MB / 205 MB, free: 5.727 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.3/0.3, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.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.0.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.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 4 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.784e-05, allocations: 10.16 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002651/0.002679, allocations: 2.362 MB / 443.2 MB, free: 1.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.004031, allocations: 1.024 MB / 444.2 MB, free: 356 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.004122, allocations: 4 kB / 444.2 MB, free: 352 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2097/0.2138, allocations: 0.4884 MB / 444.7 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.2142, allocations: 110 kB / 444.8 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.2148, allocations: 450.1 kB / 445.3 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.215, allocations: 239.1 kB / 445.5 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.2153, allocations: 214.4 kB / 445.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2155, allocations: 146.8 kB / 445.8 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.2156, allocations: 97.8 kB / 445.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.2156, allocations: 21.5 kB / 446 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.2158, allocations: 142.9 kB / 446.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.2158, allocations: 50.88 kB / 446.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.2159, allocations: 77.11 kB / 446.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.2162, allocations: 424.8 kB / 446.6 MB, free: 43.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.2162, allocations: 0 / 446.6 MB, free: 43.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2162, allocations: 0 / 446.6 MB, free: 43.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2162, allocations: 0 / 446.6 MB, free: 43.67 MB / 410.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.0007125/0.2169, allocations: 0.5501 MB / 447.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.217, allocations: 11.78 kB / 447.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.2171, allocations: 53.31 kB / 447.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.424e-05/0.2172, allocations: 127.2 kB / 447.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.2172, allocations: 19.28 kB / 447.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.2173, allocations: 28.12 kB / 447.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.2176, allocations: 289.1 kB / 447.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2176, allocations: 192 / 447.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.2177, allocations: 13.44 kB / 447.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.2177, allocations: 11.91 kB / 447.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.218, allocations: 237 kB / 448 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009363/0.2189, allocations: 0.8133 MB / 448.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.2192, allocations: 204.8 kB / 449 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2194, allocations: 122.4 kB / 449.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-05/0.2195, allocations: 18.53 kB / 449.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.2195, allocations: 46.08 kB / 449.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.2195, allocations: 0.8438 kB / 449.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.000642/0.2201, allocations: 346.9 kB / 449.5 MB, free: 42.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.2202, allocations: 84.02 kB / 449.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.2202, allocations: 131.9 kB / 449.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2202, allocations: 29.7 kB / 449.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.2203, allocations: 145.2 kB / 449.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.2203, allocations: 73.25 kB / 450 MB, free: 41.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.2204, allocations: 36.23 kB / 450 MB, free: 41.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.2204, allocations: 329 kB / 450.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2205, allocations: 71.36 kB / 450.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.2207, allocations: 126.2 kB / 450.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.2209, allocations: 212.4 kB / 450.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2209, allocations: 2.844 kB / 450.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003096/0.2212, allocations: 267.7 kB / 451 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2212, allocations: 5.75 kB / 451 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2212, allocations: 4.188 kB / 451 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.2214, allocations: 52.81 kB / 451 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.2215, allocations: 44.91 kB / 451.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009273/0.2224, allocations: 2.58 MB / 453.7 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.2225, allocations: 33.09 kB / 453.7 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2225, allocations: 8.312 kB / 453.7 MB, free: 38.61 MB / 410.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.704e-05/0.2225, allocations: 137.7 kB / 453.8 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2226, allocations: 17.19 kB / 453.8 MB, free: 38.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.2229, allocations: 268.9 kB / 454.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2229, allocations: 2.906 kB / 454.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2229, allocations: 1.5 kB / 454.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2229, allocations: 0 / 454.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.2235, allocations: 0.5624 MB / 454.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2235, allocations: 0 / 454.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.2235, allocations: 36.09 kB / 454.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.69e-05/0.2236, allocations: 47.33 kB / 454.8 MB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2236, allocations: 10.05 kB / 454.8 MB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007477/0.2244, allocations: 2.579 MB / 457.3 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2244, allocations: 5.766 kB / 457.4 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.2248, allocations: 0.521 MB / 457.9 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.2248, allocations: 14.17 kB / 457.9 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.2248, allocations: 4 kB / 457.9 MB, free: 35.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.2249, allocations: 23.88 kB / 457.9 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.2249, allocations: 20.28 kB / 457.9 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.2249, allocations: 10.03 kB / 457.9 MB, free: 35.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.532e-05/0.225, allocations: 92.41 kB / 458 MB, free: 34.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.225, allocations: 1.688 kB / 458 MB, free: 34.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.2252, allocations: 78.72 kB / 458.1 MB, free: 34.95 MB / 410.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.000159/0.2254, allocations: 132.6 kB / 458.2 MB, free: 34.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003709/0.2257, allocations: 411.5 kB / 458.6 MB, free: 34.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2257, allocations: 0 / 458.6 MB, free: 34.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.2259, allocations: 322.2 kB / 459 MB, free: 34.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2262, allocations: 13.97 kB / 459 MB, free: 34.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.2267, allocations: 456.2 kB / 459.4 MB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.018e-05/0.2267, allocations: 129.2 kB / 459.5 MB, free: 33.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.2268, allocations: 17.69 kB / 459.6 MB, free: 33.9 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2268, allocations: 0 / 459.6 MB, free: 33.9 MB / 410.7 MB Notification: Performance of Templates: time 0.003698/0.2305, allocations: 4.43 MB / 464 MB, free: 33.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.506698360666633]