Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001803/0.001803, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.002338/0.002338, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.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.2207/0.2207, allocations: 44.91 MB / 359.6 MB, free: 6.262 MB / 286.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.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 65.46 MB / 0.5582 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004111/0.3212, allocations: 2.725 MB / 0.5609 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3225, allocations: 0.7903 MB / 0.5617 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3226, allocations: 7.938 kB / 0.5617 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.3229, allocations: 83.36 kB / 0.5618 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3231, allocations: 103.2 kB / 0.5619 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.3233, allocations: 119.8 kB / 0.562 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.3238, allocations: 426.2 kB / 0.5624 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.324, allocations: 95.86 kB / 0.5625 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.3242, allocations: 155.5 kB / 0.5626 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.3244, allocations: 175.2 kB / 0.5628 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.3244, allocations: 32 kB / 0.5628 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.146e-05/0.3245, allocations: 32 kB / 0.5628 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.3246, allocations: 79.7 kB / 0.5629 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.3247, allocations: 183 kB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.3252, allocations: 428.6 kB / 0.5635 GB, free: 2.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3252, allocations: 0 / 0.5635 GB, free: 2.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3252, allocations: 0 / 0.5635 GB, free: 2.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3252, allocations: 4 kB / 0.5635 GB, free: 2.297 MB / 398.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.00106/0.3262, allocations: 0.6066 MB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3263, allocations: 11.98 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.3263, allocations: 44.7 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.3267, allocations: 232.9 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3267, allocations: 21.38 kB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.3268, allocations: 32.38 kB / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.3274, allocations: 362.2 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.3275, allocations: 3.938 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.3275, allocations: 20 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3275, allocations: 8 kB / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.3281, allocations: 255.8 kB / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.3302, allocations: 1.296 MB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.3307, allocations: 198.5 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3309, allocations: 79.52 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.3309, allocations: 7.984 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3309, allocations: 42.5 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.3309, allocations: 0 / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007744/0.3317, allocations: 249.3 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/0.3318, allocations: 136.5 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.3322, allocations: 337.7 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3322, allocations: 33.7 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3324, allocations: 240.2 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.3324, allocations: 55.58 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/0.3325, allocations: 53.94 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3327, allocations: 350.8 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.3329, allocations: 72.5 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.3332, allocations: 176.2 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.3337, allocations: 246.9 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3337, allocations: 0 / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006333/0.3343, allocations: 313.5 kB / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3343, allocations: 10.66 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3344, allocations: 3.938 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3344, allocations: 8.312 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.3348, allocations: 99.86 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3348, allocations: 4 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.335, allocations: 51.64 kB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.3351, allocations: 16 kB / 0.569 GB, free: 12.31 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.0001443/0.3352, allocations: 149.7 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3353, allocations: 35.81 kB / 0.5691 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.3354, allocations: 30.5 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3354, allocations: 4 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3354, allocations: 0 / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.3354, allocations: 8.266 kB / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/0.3362, allocations: 0.5633 MB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3362, allocations: 4 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.3365, allocations: 55.88 kB / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3365, allocations: 7.984 kB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3365, allocations: 11.94 kB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3365, allocations: 0 / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3365, allocations: 4 kB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.337, allocations: 401.8 kB / 0.5702 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.3371, allocations: 35.8 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.3371, allocations: 7.938 kB / 0.5702 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.3374, allocations: 19.97 kB / 0.5703 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.3374, allocations: 7.984 kB / 0.5703 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3374, allocations: 11.94 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.3377, allocations: 243.2 kB / 0.5705 GB, free: 10.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3377, allocations: 0 / 0.5705 GB, free: 10.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.3381, allocations: 71.89 kB / 0.5706 GB, free: 10.56 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 9.776e-05/0.3382, allocations: 95.19 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.3387, allocations: 184.1 kB / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3387, allocations: 4 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.3389, allocations: 79.81 kB / 0.5709 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.3393, allocations: 29.75 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009933/0.3403, allocations: 0.5949 MB / 0.5715 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.3407, allocations: 0.7753 MB / 0.5723 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.3408, allocations: 19.44 kB / 0.5723 GB, free: 8.695 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3408, allocations: 7.938 kB / 0.5723 GB, free: 8.688 MB / 414.1 MB Notification: Performance of Templates: time 0.005426/0.3462, allocations: 3.223 MB / 0.5755 GB, free: 5.457 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.377635905984789]