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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.001511, allocations: 169.9 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009074/0.0009072, allocations: 84.44 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1858/0.1858, allocations: 44.16 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.893e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 61.92 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.5068, allocations: 86.19 MB / 0.5788 GB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.5071, allocations: 71.95 kB / 0.5789 GB, free: 10.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005175/0.5123, allocations: 1.744 MB / 0.5806 GB, free: 8.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5123, allocations: 3.938 kB / 0.5806 GB, free: 8.535 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.5123, allocations: 4 kB / 0.5806 GB, free: 8.531 MB / 394.7 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.0005049/0.5128, allocations: 394.3 kB / 0.581 GB, free: 8.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5129, allocations: 15.98 kB / 0.581 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.5129, allocations: 7.906 kB / 0.581 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.5131, allocations: 178.9 kB / 0.5812 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.5131, allocations: 4 kB / 0.5812 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5131, allocations: 7.953 kB / 0.5812 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001399/0.5132, allocations: 52 kB / 0.5812 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.5134, allocations: 77.67 kB / 0.5813 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.5134, allocations: 4 kB / 0.5813 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.5134, allocations: 4 kB / 0.5813 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.5134, allocations: 0 / 0.5813 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.5141, allocations: 455.7 kB / 0.5818 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.901e-05/0.5143, allocations: 58.52 kB / 0.5818 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.5143, allocations: 36.98 kB / 0.5819 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.5144, allocations: 4 kB / 0.5819 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5144, allocations: 37.52 kB / 0.5819 GB, free: 7.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5144, allocations: 0 / 0.5819 GB, free: 7.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002561/0.5147, allocations: 94.33 kB / 0.582 GB, free: 6.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.5147, allocations: 51.41 kB / 0.582 GB, free: 6.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.5148, allocations: 101.2 kB / 0.5821 GB, free: 6.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.5148, allocations: 25.7 kB / 0.5822 GB, free: 6.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.5149, allocations: 103.9 kB / 0.5822 GB, free: 6.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.5149, allocations: 27.64 kB / 0.5823 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.5149, allocations: 4 kB / 0.5823 GB, free: 6.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.515, allocations: 314.8 kB / 0.5826 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.515, allocations: 12 kB / 0.5826 GB, free: 6.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.5151, allocations: 31.02 kB / 0.5826 GB, free: 6.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.5151, allocations: 12 kB / 0.5826 GB, free: 6.254 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5151, allocations: 0 / 0.5826 GB, free: 6.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001603/0.5153, allocations: 98.44 kB / 0.5827 GB, free: 6.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.5153, allocations: 9.188 kB / 0.5827 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5153, allocations: 0 / 0.5827 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/0.5155, allocations: 24.84 kB / 0.5828 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.5156, allocations: 23.97 kB / 0.5828 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008531/0.5165, allocations: 1.261 MB / 0.584 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.5166, allocations: 19.95 kB / 0.584 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5166, allocations: 8.062 kB / 0.584 GB, free: 4.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.5167, allocations: 108.9 kB / 0.5841 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.5167, allocations: 7.906 kB / 0.5842 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.5168, allocations: 12.61 kB / 0.5842 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5168, allocations: 0 / 0.5842 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5168, allocations: 7.828 kB / 0.5842 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5168, allocations: 0 / 0.5842 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.5172, allocations: 348.7 kB / 0.5845 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5172, allocations: 0 / 0.5845 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5173, allocations: 23.97 kB / 0.5845 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.487e-05/0.5174, allocations: 24.8 kB / 0.5845 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.5174, allocations: 0 / 0.5845 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007911/0.5182, allocations: 1.245 MB / 0.5858 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5182, allocations: 4.031 kB / 0.5858 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.5184, allocations: 207 kB / 0.586 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.5184, allocations: 92.94 kB / 0.5861 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.5185, allocations: 3.953 kB / 0.5861 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.5186, allocations: 15.98 kB / 0.5861 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.5186, allocations: 11.98 kB / 0.5861 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.5186, allocations: 0 / 0.5861 GB, free: 2.367 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.5187, allocations: 87.28 kB / 0.5862 GB, free: 2.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5187, allocations: 0 / 0.5862 GB, free: 2.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.519, allocations: 23.91 kB / 0.5862 GB, free: 2.258 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001022/0.5191, allocations: 95.19 kB / 0.5863 GB, free: 2.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.5193, allocations: 145.8 kB / 0.5864 GB, free: 2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5193, allocations: 4.062 kB / 0.5864 GB, free: 1.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.5194, allocations: 121.8 kB / 0.5865 GB, free: 1.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.5196, allocations: 20.19 kB / 0.5866 GB, free: 1.848 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.5199, allocations: 125.1 kB / 0.5867 GB, free: 1.699 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.5202, allocations: 0.708 MB / 0.5874 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.5202, allocations: 192 / 0.5874 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.5203, allocations: 7.438 kB / 0.5874 GB, free: 0.957 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5203, allocations: 0 / 0.5874 GB, free: 0.957 MB / 394.7 MB Notification: Performance of Templates: time 0.002791/0.5231, allocations: 0.8428 MB / 0.5882 GB, free: 120 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches