Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.00139/0.00139, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001464/0.001464, allocations: 204.2 kB / 24.47 MB, free: 3.699 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.579/1.579, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2378/0.2378, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.91 kB / 0.4973 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3151, allocations: 66.02 MB / 0.5618 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003175/0.3183, allocations: 2.518 MB / 0.5642 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3194, allocations: 0.747 MB / 0.565 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.3195, allocations: 13.97 kB / 0.565 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.3197, allocations: 73.12 kB / 0.5651 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.3199, allocations: 112.3 kB / 0.5652 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.3202, allocations: 114.6 kB / 0.5653 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.3205, allocations: 418.3 kB / 0.5657 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3206, allocations: 104.9 kB / 0.5658 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3208, allocations: 152.1 kB / 0.5659 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.3209, allocations: 170.6 kB / 0.5661 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.304e-05/0.321, allocations: 33.22 kB / 0.5661 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.115e-05/0.321, allocations: 37.31 kB / 0.5662 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.3211, allocations: 78.48 kB / 0.5662 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.3212, allocations: 147.9 kB / 0.5664 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.3215, allocations: 435 kB / 0.5668 GB, free: 30.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3216, allocations: 0 / 0.5668 GB, free: 30.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3216, allocations: 0 / 0.5668 GB, free: 30.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3216, allocations: 0 / 0.5668 GB, free: 30.52 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001039/0.3226, allocations: 0.6084 MB / 0.5674 GB, free: 30.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3226, allocations: 9.219 kB / 0.5674 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.3227, allocations: 46.17 kB / 0.5674 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.3231, allocations: 229.8 kB / 0.5676 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3231, allocations: 22.12 kB / 0.5677 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.3232, allocations: 34.66 kB / 0.5677 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.3239, allocations: 365.1 kB / 0.5681 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3239, allocations: 0 / 0.5681 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.3239, allocations: 15.03 kB / 0.5681 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.3239, allocations: 10.56 kB / 0.5681 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.3245, allocations: 264.7 kB / 0.5683 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.3262, allocations: 1.162 MB / 0.5695 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.3266, allocations: 195.2 kB / 0.5696 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3268, allocations: 77.58 kB / 0.5697 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.3268, allocations: 3 kB / 0.5697 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3268, allocations: 41.5 kB / 0.5698 GB, free: 28.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.3268, allocations: 0 / 0.5698 GB, free: 28.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006803/0.3275, allocations: 242.6 kB / 0.57 GB, free: 28.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3276, allocations: 139.4 kB / 0.5701 GB, free: 28.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.3278, allocations: 291.7 kB / 0.5704 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3278, allocations: 25.7 kB / 0.5704 GB, free: 28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.3279, allocations: 253.1 kB / 0.5707 GB, free: 27.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.3279, allocations: 62.34 kB / 0.5707 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.328, allocations: 58.08 kB / 0.5708 GB, free: 27.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.328, allocations: 335.1 kB / 0.5711 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3282, allocations: 77.08 kB / 0.5712 GB, free: 27.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.3284, allocations: 175.5 kB / 0.5713 GB, free: 27.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.3289, allocations: 246.5 kB / 0.5716 GB, free: 27.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3289, allocations: 5.188 kB / 0.5716 GB, free: 27.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000572/0.3294, allocations: 318.4 kB / 0.5719 GB, free: 26.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3294, allocations: 5.344 kB / 0.5719 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3295, allocations: 7.469 kB / 0.5719 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3295, allocations: 8.719 kB / 0.5719 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.3299, allocations: 91.2 kB / 0.572 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3299, allocations: 8.672 kB / 0.572 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.3302, allocations: 41.86 kB / 0.572 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3302, allocations: 9.688 kB / 0.5721 GB, free: 26.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.3303, allocations: 149.3 kB / 0.5722 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.3304, allocations: 32.53 kB / 0.5722 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.3305, allocations: 32.66 kB / 0.5723 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3305, allocations: 3.594 kB / 0.5723 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3305, allocations: 0 / 0.5723 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3305, allocations: 4.609 kB / 0.5723 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.3311, allocations: 0.495 MB / 0.5728 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3311, allocations: 1.75 kB / 0.5728 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.3314, allocations: 66.44 kB / 0.5728 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3314, allocations: 3.188 kB / 0.5728 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3315, allocations: 2.688 kB / 0.5728 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3315, allocations: 2.781 kB / 0.5728 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3315, allocations: 5.469 kB / 0.5728 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.3319, allocations: 390 kB / 0.5732 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.3319, allocations: 32.05 kB / 0.5732 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.332, allocations: 2.75 kB / 0.5732 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3322, allocations: 18.62 kB / 0.5733 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.3322, allocations: 21.12 kB / 0.5733 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3323, allocations: 8.125 kB / 0.5733 GB, free: 25.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.3324, allocations: 196.5 kB / 0.5735 GB, free: 25.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3324, allocations: 0 / 0.5735 GB, free: 25.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004108/0.3328, allocations: 80.16 kB / 0.5735 GB, free: 25.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.316e-05/0.3329, allocations: 92.23 kB / 0.5736 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005422/0.3334, allocations: 190.9 kB / 0.5738 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3334, allocations: 0 / 0.5738 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.3337, allocations: 85.59 kB / 0.5739 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3341, allocations: 24 kB / 0.5739 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/0.3351, allocations: 0.5977 MB / 0.5745 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.3352, allocations: 172.7 kB / 0.5747 GB, free: 25.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.3353, allocations: 28.36 kB / 0.5747 GB, free: 25.09 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3353, allocations: 4 kB / 0.5747 GB, free: 25.09 MB / 446.1 MB Notification: Performance of Templates: time 0.005958/0.3413, allocations: 3.194 MB / 0.5778 GB, free: 24.7 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.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: 7.529101895983331]