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.001407/0.001407, allocations: 99.66 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.001973/0.001973, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2296/0.2296, allocations: 46.96 MB / 361.6 MB, free: 4.062 MB / 286.1 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.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.002095/0.002095, allocations: 71.84 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3181, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004909/0.323, allocations: 2.505 MB / 0.5643 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3245, allocations: 0.7514 MB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.3246, allocations: 8 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.3249, allocations: 71.38 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.3251, allocations: 107.2 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.3255, allocations: 119.8 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.3259, allocations: 426.2 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.3261, allocations: 91.86 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.3264, allocations: 155.4 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.3266, allocations: 147.2 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.3266, allocations: 36 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.638e-05/0.3267, allocations: 32 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.3268, allocations: 75.69 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.3269, allocations: 155.2 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.3274, allocations: 432.6 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3274, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3274, allocations: 4 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3274, allocations: 0 / 0.5668 GB, free: 15.09 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.001111/0.3285, allocations: 0.6027 MB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3286, allocations: 12.03 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.244e-05/0.3287, allocations: 40.7 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.3291, allocations: 224.9 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.3291, allocations: 29.38 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.3292, allocations: 28.38 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.3299, allocations: 366.2 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3299, allocations: 4 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3299, allocations: 11.94 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3299, allocations: 8 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.3306, allocations: 270.8 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.3327, allocations: 1.164 MB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.3332, allocations: 190.6 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.3334, allocations: 79.55 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3334, allocations: 4 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3335, allocations: 38.5 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.3335, allocations: 0 / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008489/0.3343, allocations: 249.9 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/0.3344, allocations: 132.5 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.3347, allocations: 292.5 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.3348, allocations: 29.7 kB / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.335, allocations: 255.9 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.335, allocations: 59.52 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.3351, allocations: 58.06 kB / 0.5708 GB, free: 10.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3353, allocations: 338.8 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.3355, allocations: 80.5 kB / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.3358, allocations: 164.2 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.3364, allocations: 254.9 kB / 0.5716 GB, free: 9.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3364, allocations: 0 / 0.5716 GB, free: 9.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006857/0.337, allocations: 309.3 kB / 0.5719 GB, free: 9.508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3371, allocations: 8 kB / 0.5719 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3371, allocations: 4 kB / 0.5719 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3371, allocations: 8.031 kB / 0.5719 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.3375, allocations: 92.11 kB / 0.572 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3375, allocations: 4 kB / 0.572 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.3378, allocations: 39.77 kB / 0.572 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.3378, allocations: 19.98 kB / 0.572 GB, free: 9.336 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.0001794/0.338, allocations: 149.7 kB / 0.5722 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.3381, allocations: 27.81 kB / 0.5722 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.3382, allocations: 29.52 kB / 0.5722 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3382, allocations: 4 kB / 0.5722 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3382, allocations: 0 / 0.5722 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3382, allocations: 8 kB / 0.5722 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007882/0.339, allocations: 0.4975 MB / 0.5727 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.339, allocations: 0 / 0.5727 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.3393, allocations: 55.94 kB / 0.5728 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.3393, allocations: 4 kB / 0.5728 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3393, allocations: 4 kB / 0.5728 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3393, allocations: 8.156 kB / 0.5728 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3393, allocations: 7.875 kB / 0.5728 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.3399, allocations: 390.8 kB / 0.5732 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.3399, allocations: 27.86 kB / 0.5732 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.34, allocations: 11.98 kB / 0.5732 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.3402, allocations: 11.98 kB / 0.5732 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.3402, allocations: 27.86 kB / 0.5733 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3403, allocations: 7.984 kB / 0.5733 GB, free: 7.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.3405, allocations: 203.1 kB / 0.5735 GB, free: 7.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3405, allocations: 0 / 0.5735 GB, free: 7.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.3409, allocations: 79.72 kB / 0.5735 GB, free: 7.703 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.0001157/0.341, allocations: 99.19 kB / 0.5736 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005515/0.3416, allocations: 186.7 kB / 0.5738 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3416, allocations: 0 / 0.5738 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.3418, allocations: 79.88 kB / 0.5739 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3422, allocations: 17.41 kB / 0.5739 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3433, allocations: 0.6061 MB / 0.5745 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.3434, allocations: 168.5 kB / 0.5746 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.3435, allocations: 19.44 kB / 0.5747 GB, free: 6.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3435, allocations: 0 / 0.5747 GB, free: 6.461 MB / 414.1 MB Notification: Performance of Templates: time 0.005713/0.3492, allocations: 3.218 MB / 0.5778 GB, free: 3.238 MB / 414.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.512737171258777]