Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.001297/0.001297, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001415/0.001415, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.211 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.2261/0.2261, allocations: 44.92 MB / 359.6 MB, free: 6.324 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [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.002023/0.002023, allocations: 63.91 kB / 0.4943 GB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3071, allocations: 65.46 MB / 0.5582 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003505/0.3106, allocations: 1.754 MB / 0.5599 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002252/0.3108, allocations: 83.66 kB / 0.56 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.3109, allocations: 4 kB / 0.56 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.718e-05/0.3109, allocations: 7.875 kB / 0.56 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.23e-05/0.311, allocations: 23.78 kB / 0.5601 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.3112, allocations: 27.97 kB / 0.5601 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3113, allocations: 111.6 kB / 0.5602 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.3115, allocations: 51.89 kB / 0.5602 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.308e-05/0.3116, allocations: 39.86 kB / 0.5603 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.3117, allocations: 51.77 kB / 0.5603 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.3117, allocations: 12 kB / 0.5603 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.3117, allocations: 12 kB / 0.5603 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.3118, allocations: 19.92 kB / 0.5604 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.3118, allocations: 55.73 kB / 0.5604 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.312, allocations: 118 kB / 0.5605 GB, free: 5.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.312, allocations: 0 / 0.5605 GB, free: 5.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.312, allocations: 0 / 0.5605 GB, free: 5.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.312, allocations: 8 kB / 0.5605 GB, free: 5.379 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006525/0.3127, allocations: 341.9 kB / 0.5609 GB, free: 5.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3127, allocations: 8.031 kB / 0.5609 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.3128, allocations: 12.89 kB / 0.5609 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3129, allocations: 122.3 kB / 0.561 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3129, allocations: 8.375 kB / 0.561 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3129, allocations: 12.38 kB / 0.561 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.3133, allocations: 123.8 kB / 0.5611 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3133, allocations: 192 / 0.5611 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.3133, allocations: 11.88 kB / 0.5611 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3133, allocations: 4 kB / 0.5612 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.3137, allocations: 107.8 kB / 0.5613 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000818/0.3145, allocations: 438.5 kB / 0.5617 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.3147, allocations: 78.53 kB / 0.5617 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.315, allocations: 60.94 kB / 0.5618 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.315, allocations: 3.984 kB / 0.5618 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.315, allocations: 42.48 kB / 0.5619 GB, free: 3.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.315, allocations: 4 kB / 0.5619 GB, free: 3.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007986/0.3158, allocations: 186.3 kB / 0.562 GB, free: 3.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3158, allocations: 55.39 kB / 0.5621 GB, free: 3.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.316, allocations: 125.7 kB / 0.5622 GB, free: 3.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.316, allocations: 25.7 kB / 0.5622 GB, free: 3.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.3161, allocations: 112.2 kB / 0.5623 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.3161, allocations: 19.8 kB / 0.5624 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3161, allocations: 21.7 kB / 0.5624 GB, free: 3.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3163, allocations: 314.8 kB / 0.5627 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3164, allocations: 43.95 kB / 0.5627 GB, free: 2.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3166, allocations: 54.53 kB / 0.5628 GB, free: 2.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.3169, allocations: 102.6 kB / 0.5629 GB, free: 2.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3169, allocations: 3.938 kB / 0.5629 GB, free: 2.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004206/0.3173, allocations: 150.3 kB / 0.563 GB, free: 2.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3173, allocations: 4 kB / 0.563 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3173, allocations: 4 kB / 0.563 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.3175, allocations: 20.84 kB / 0.563 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.3176, allocations: 24.05 kB / 0.5631 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.3188, allocations: 1.299 MB / 0.5643 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3189, allocations: 16.08 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3189, allocations: 11.94 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.319, allocations: 113.8 kB / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.319, allocations: 7.891 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.3191, allocations: 16.36 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3191, allocations: 3.938 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3191, allocations: 144 / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3191, allocations: 7.984 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.3197, allocations: 399.1 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3197, allocations: 0 / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.3198, allocations: 15.98 kB / 0.5649 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-05/0.3199, allocations: 28.88 kB / 0.5649 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3199, allocations: 4.125 kB / 0.5649 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.3209, allocations: 1.295 MB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3209, allocations: 0 / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.3214, allocations: 245.1 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.3214, allocations: 7.953 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.3214, allocations: 0 / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3215, allocations: 15.97 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.3216, allocations: 11.98 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3216, allocations: 0 / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.997e-05/0.3216, allocations: 95.27 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3216, allocations: 0 / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.3219, allocations: 35.83 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000112/0.322, allocations: 95.25 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.3226, allocations: 202.5 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3226, allocations: 0 / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.3228, allocations: 162.8 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3232, allocations: 10.44 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.3237, allocations: 245.5 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3241, allocations: 0.7041 MB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.3241, allocations: 11.44 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3241, allocations: 0 / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of Templates: time 0.003595/0.3277, allocations: 1.613 MB / 0.5695 GB, free: 11.51 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.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: 7.800881244009361]