Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.001648/0.001648, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001799/0.001799, allocations: 215.5 kB / 24.48 MB, free: 3.953 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.467/1.467, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.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.2444/0.2444, allocations: 46.96 MB / 361.6 MB, free: 3.926 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.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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 83.81 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3201, allocations: 66.09 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004367/0.3244, allocations: 2.515 MB / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.326, allocations: 0.7436 MB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.3262, allocations: 8 kB / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.3265, allocations: 75.31 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.3269, allocations: 111.2 kB / 0.5653 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.3272, allocations: 111.8 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.3277, allocations: 418.4 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.328, allocations: 103.6 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.3282, allocations: 147.5 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.3284, allocations: 151.2 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.3285, allocations: 36 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.864e-05/0.3285, allocations: 36 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.3286, allocations: 75.69 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3288, allocations: 147.3 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.3292, allocations: 432.7 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3292, allocations: 3.938 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3293, allocations: 0 / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3293, allocations: 0 / 0.5669 GB, free: 14.87 MB / 414.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.001114/0.3304, allocations: 0.6066 MB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3304, allocations: 12.03 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.545e-05/0.3305, allocations: 40.7 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.3309, allocations: 220.9 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.3309, allocations: 29.38 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.331, allocations: 32.38 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.3317, allocations: 366.2 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3317, allocations: 0 / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.3317, allocations: 12 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3317, allocations: 8 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.3324, allocations: 273.9 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.3344, allocations: 1.164 MB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.3349, allocations: 194.6 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3352, allocations: 83.45 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3352, allocations: 4 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.3352, allocations: 38.56 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.654e-06/0.3352, allocations: 0 / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008164/0.336, allocations: 245.4 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.3361, allocations: 136.6 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.3365, allocations: 296.4 kB / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.3365, allocations: 25.7 kB / 0.5705 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.3367, allocations: 255.9 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.3367, allocations: 55.53 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.503e-05/0.3368, allocations: 53.94 kB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.337, allocations: 334.8 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.3373, allocations: 80.5 kB / 0.5713 GB, free: 10.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.3376, allocations: 180 kB / 0.5714 GB, free: 9.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.3382, allocations: 259.3 kB / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3382, allocations: 0 / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007058/0.3389, allocations: 301.1 kB / 0.572 GB, free: 9.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3389, allocations: 12.25 kB / 0.572 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3389, allocations: 4 kB / 0.572 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3389, allocations: 4 kB / 0.572 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.3393, allocations: 87.86 kB / 0.5721 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3393, allocations: 7.938 kB / 0.5721 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.3396, allocations: 47.75 kB / 0.5721 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.3396, allocations: 8 kB / 0.5721 GB, free: 9.105 MB / 414.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.0001717/0.3398, allocations: 153.7 kB / 0.5723 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/0.3399, allocations: 27.81 kB / 0.5723 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.34, allocations: 29.52 kB / 0.5723 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.34, allocations: 4 kB / 0.5723 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.34, allocations: 0 / 0.5723 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.34, allocations: 4 kB / 0.5723 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.3408, allocations: 0.5014 MB / 0.5728 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3408, allocations: 0 / 0.5728 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.341, allocations: 56.39 kB / 0.5729 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3411, allocations: 4 kB / 0.5729 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3411, allocations: 7.984 kB / 0.5729 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.3411, allocations: 7.938 kB / 0.5729 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3411, allocations: 3.938 kB / 0.5729 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.3417, allocations: 394.8 kB / 0.5733 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.3418, allocations: 31.78 kB / 0.5733 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.3418, allocations: 4 kB / 0.5733 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.342, allocations: 11.98 kB / 0.5733 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.3421, allocations: 23.91 kB / 0.5733 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3421, allocations: 4 kB / 0.5733 GB, free: 7.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.3423, allocations: 203.1 kB / 0.5735 GB, free: 7.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3423, allocations: 0 / 0.5735 GB, free: 7.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.3428, allocations: 79.78 kB / 0.5736 GB, free: 7.477 MB / 414.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 0.000116/0.3429, allocations: 99.19 kB / 0.5737 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005525/0.3434, allocations: 187.6 kB / 0.5739 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3434, allocations: 3.938 kB / 0.5739 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.3437, allocations: 80.83 kB / 0.574 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.3441, allocations: 22.97 kB / 0.574 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3452, allocations: 0.5983 MB / 0.5746 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.3454, allocations: 176.7 kB / 0.5747 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.3454, allocations: 19.44 kB / 0.5748 GB, free: 6.223 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3454, allocations: 0 / 0.5748 GB, free: 6.223 MB / 414.1 MB Notification: Performance of Templates: time 0.006419/0.3518, allocations: 3.205 MB / 0.5779 GB, free: 3.012 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.515019276179373]