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.001665/0.001665, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001517/0.001517, allocations: 167.8 kB / 23.95 MB, free: 4.16 MB / 14.72 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.506/1.506, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.2067/0.2067, allocations: 32.82 MB / 293.5 MB, free: 36 kB / 270.1 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.585e-06/2.585e-06, allocations: 0 / 440.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.582e-05, allocations: 2.281 kB / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004814/0.00485, allocations: 2.362 MB / 442.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.007259, allocations: 1.024 MB / 443.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.00754, allocations: 4 kB / 443.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.009183, allocations: 0.4898 MB / 443.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.009678, allocations: 111.1 kB / 444.1 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.01085, allocations: 458.1 kB / 444.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000547/0.0114, allocations: 230.8 kB / 444.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000631/0.01203, allocations: 210.8 kB / 444.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.01242, allocations: 155.5 kB / 445.1 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.01265, allocations: 95.77 kB / 445.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.01271, allocations: 20 kB / 445.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.01314, allocations: 143.8 kB / 445.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.01321, allocations: 43.84 kB / 445.4 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.01333, allocations: 79.83 kB / 445.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007917/0.01412, allocations: 422.6 kB / 445.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.01413, allocations: 0 / 445.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01413, allocations: 0 / 445.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.01414, allocations: 3.984 kB / 445.9 MB, free: 2.348 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.001701/0.01584, allocations: 0.5482 MB / 446.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.01588, allocations: 12.03 kB / 446.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.01626, allocations: 48.77 kB / 446.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.01645, allocations: 133.5 kB / 446.6 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.01648, allocations: 20.88 kB / 446.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.01655, allocations: 24.38 kB / 446.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007536/0.0173, allocations: 295.2 kB / 447 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.01732, allocations: 192 / 447 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.01736, allocations: 12.38 kB / 447 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.01737, allocations: 11.88 kB / 447 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.018, allocations: 225.9 kB / 447.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.01972, allocations: 0.826 MB / 448 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2542/0.2739, allocations: 203.1 kB / 448.2 MB, free: 21.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/0.2743, allocations: 123.4 kB / 448.3 MB, free: 21.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.2744, allocations: 16.25 kB / 448.4 MB, free: 21.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2745, allocations: 36.98 kB / 448.4 MB, free: 21.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.645e-06/0.2745, allocations: 0 / 448.4 MB, free: 21.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001295/0.2758, allocations: 357.1 kB / 448.7 MB, free: 21.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.2758, allocations: 82.72 kB / 448.8 MB, free: 21.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2759, allocations: 129.7 kB / 448.9 MB, free: 21.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.2759, allocations: 29.86 kB / 449 MB, free: 21.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.276, allocations: 152.4 kB / 449.1 MB, free: 21.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.276, allocations: 63.16 kB / 449.2 MB, free: 21.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.2761, allocations: 39.25 kB / 449.2 MB, free: 21.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.2762, allocations: 325.8 kB / 449.5 MB, free: 20.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.2764, allocations: 71.91 kB / 449.6 MB, free: 20.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.2767, allocations: 122.2 kB / 449.7 MB, free: 20.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.2772, allocations: 210.8 kB / 449.9 MB, free: 20.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2772, allocations: 3.938 kB / 449.9 MB, free: 20.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006288/0.2778, allocations: 273.9 kB / 450.2 MB, free: 20.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.2778, allocations: 9.797 kB / 450.2 MB, free: 20.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2778, allocations: 2.25 kB / 450.2 MB, free: 20.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.2781, allocations: 47.72 kB / 450.3 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.2783, allocations: 43.03 kB / 450.3 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.2797, allocations: 2.587 MB / 452.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.2799, allocations: 26.89 kB / 452.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2799, allocations: 10.88 kB / 452.9 MB, free: 17.94 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.0001214/0.28, allocations: 145.5 kB / 453.1 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.2801, allocations: 15.41 kB / 453.1 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006565/0.2808, allocations: 255.5 kB / 453.3 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2808, allocations: 10.94 kB / 453.4 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.2808, allocations: 0 / 453.4 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.2808, allocations: 2.828 kB / 453.4 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2818, allocations: 0.552 MB / 453.9 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2818, allocations: 1.312 kB / 453.9 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.282, allocations: 33.58 kB / 453.9 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.2821, allocations: 52.8 kB / 454 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2821, allocations: 10.08 kB / 454 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.2834, allocations: 2.581 MB / 456.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2834, allocations: 9.031 kB / 456.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.2843, allocations: 0.5199 MB / 457.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.2843, allocations: 10.34 kB / 457.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.2844, allocations: 3.062 kB / 457.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2845, allocations: 16.45 kB / 457.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/0.2846, allocations: 24.34 kB / 457.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.2847, allocations: 5.125 kB / 457.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.2847, allocations: 106.9 kB / 457.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2847, allocations: 0 / 457.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004666/0.2852, allocations: 75.41 kB / 457.3 MB, free: 14.27 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.0002282/0.2854, allocations: 131.5 kB / 457.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007475/0.2861, allocations: 417.5 kB / 457.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2862, allocations: 1.531 kB / 457.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.2865, allocations: 326.1 kB / 458.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2869, allocations: 16.31 kB / 458.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008267/0.2877, allocations: 437.6 kB / 458.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.2879, allocations: 121.8 kB / 458.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.264e-05/0.2879, allocations: 16.41 kB / 458.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.288, allocations: 15.84 kB / 458.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.288, allocations: 1.094 kB / 458.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.008518/0.2965, allocations: 2.373 MB / 461.2 MB, free: 12.94 MB / 366.1 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.074617892503738]