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.0009828/0.0009829, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 98.5 kB / 292.2 MB, free: 10.89 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.3668/0.3668, allocations: 44.21 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 8 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3921, allocations: 61.9 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.5201, allocations: 86.94 MB / 0.5945 GB, free: 8.184 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5205, allocations: 63.97 kB / 0.5945 GB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004455/0.5249, allocations: 1.754 MB / 0.5962 GB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5249, allocations: 0 / 0.5962 GB, free: 6.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.525, allocations: 4 kB / 0.5962 GB, free: 6.359 MB / 410.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.0005244/0.5255, allocations: 411 kB / 0.5966 GB, free: 5.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5255, allocations: 8.031 kB / 0.5966 GB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.5256, allocations: 15.81 kB / 0.5966 GB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.5258, allocations: 174.9 kB / 0.5968 GB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.5258, allocations: 8 kB / 0.5968 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.5258, allocations: 11.95 kB / 0.5968 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.5262, allocations: 137.5 kB / 0.597 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5262, allocations: 0 / 0.597 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.5262, allocations: 4 kB / 0.597 GB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.5262, allocations: 4 kB / 0.597 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.5266, allocations: 127.8 kB / 0.5971 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.5274, allocations: 483.3 kB / 0.5976 GB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.5276, allocations: 98.47 kB / 0.5976 GB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.5277, allocations: 0 / 0.5976 GB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5277, allocations: 38.52 kB / 0.5977 GB, free: 4.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.5277, allocations: 0 / 0.5977 GB, free: 4.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008535/0.5286, allocations: 303.6 kB / 0.598 GB, free: 4.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.5286, allocations: 51.41 kB / 0.598 GB, free: 4.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.5287, allocations: 108.9 kB / 0.5981 GB, free: 4.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.5287, allocations: 29.7 kB / 0.5982 GB, free: 4.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.5288, allocations: 108.1 kB / 0.5983 GB, free: 4.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.5289, allocations: 23.73 kB / 0.5983 GB, free: 4.031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.5289, allocations: 0 / 0.5983 GB, free: 4.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.529, allocations: 318.8 kB / 0.5986 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5292, allocations: 43.95 kB / 0.5986 GB, free: 3.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.5294, allocations: 69.67 kB / 0.5987 GB, free: 3.594 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.5295, allocations: 55.97 kB / 0.5987 GB, free: 3.539 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5295, allocations: 0 / 0.5987 GB, free: 3.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003979/0.5299, allocations: 166.3 kB / 0.5989 GB, free: 3.367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.53, allocations: 8 kB / 0.5989 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.53, allocations: 0 / 0.5989 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.5302, allocations: 24.84 kB / 0.5989 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.5303, allocations: 35.92 kB / 0.599 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.5314, allocations: 1.297 MB / 0.6002 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.5315, allocations: 32 kB / 0.6003 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5315, allocations: 0 / 0.6003 GB, free: 1.832 MB / 410.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 () * 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 (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 9.379e-05/0.5316, allocations: 125.7 kB / 0.6004 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.5316, allocations: 11.91 kB / 0.6004 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.5317, allocations: 8.375 kB / 0.6004 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5317, allocations: 4 kB / 0.6004 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.5317, allocations: 4 kB / 0.6004 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.5317, allocations: 0 / 0.6004 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.5319, allocations: 205.5 kB / 0.6006 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5319, allocations: 0 / 0.6006 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.532, allocations: 23.92 kB / 0.6006 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.666e-05/0.5321, allocations: 24.84 kB / 0.6007 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.5321, allocations: 4 kB / 0.6007 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008653/0.533, allocations: 1.308 MB / 0.6019 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.533, allocations: 0 / 0.6019 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.5334, allocations: 268.2 kB / 0.6022 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.5335, allocations: 81.05 kB / 0.6023 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-06/0.5335, allocations: 0 / 0.6023 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.5336, allocations: 24.05 kB / 0.6023 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.5337, allocations: 7.984 kB / 0.6023 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.5337, allocations: 4 kB / 0.6023 GB, free: 15.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.751e-05/0.5338, allocations: 103.6 kB / 0.6024 GB, free: 15.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5338, allocations: 4 kB / 0.6024 GB, free: 15.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000226/0.534, allocations: 23.91 kB / 0.6024 GB, free: 15.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0001105/0.5342, allocations: 95.23 kB / 0.6025 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.5347, allocations: 230.6 kB / 0.6027 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5347, allocations: 0 / 0.6027 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.535, allocations: 170.7 kB / 0.6029 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.5352, allocations: 10.39 kB / 0.6029 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.5357, allocations: 254.1 kB / 0.6032 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.536, allocations: 0.7004 MB / 0.6038 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.128e-05/0.536, allocations: 4.188 kB / 0.6038 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.5361, allocations: 11.44 kB / 0.6039 GB, free: 13.84 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5361, allocations: 0 / 0.6039 GB, free: 13.84 MB / 426.7 MB Notification: Performance of Templates: time 0.003371/0.5395, allocations: 0.9331 MB / 0.6048 GB, free: 12.91 MB / 426.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