Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009744/0.0009742, allocations: 201.1 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009537/0.0009538, allocations: 101.6 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1859/0.1859, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.052e-05/1.061e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3838/0.4859, allocations: 87.25 MB / 0.5896 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.4861, allocations: 66.47 kB / 0.5896 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004492/0.4906, allocations: 1.739 MB / 0.5913 GB, free: 13.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.4907, allocations: 0 / 0.5913 GB, free: 13.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.4907, allocations: 0 / 0.5913 GB, free: 13.74 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.0006056/0.4913, allocations: 401.5 kB / 0.5917 GB, free: 13.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.4914, allocations: 8.031 kB / 0.5917 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.4914, allocations: 7.906 kB / 0.5917 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4916, allocations: 186.8 kB / 0.5919 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4917, allocations: 4 kB / 0.5919 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4917, allocations: 8 kB / 0.5919 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001702/0.4919, allocations: 52.11 kB / 0.592 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.4921, allocations: 91.75 kB / 0.592 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4921, allocations: 0 / 0.592 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.4921, allocations: 0 / 0.592 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4921, allocations: 4 kB / 0.5921 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/0.493, allocations: 450.1 kB / 0.5925 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4932, allocations: 55.52 kB / 0.5925 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.4933, allocations: 40.23 kB / 0.5926 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4933, allocations: 0.75 kB / 0.5926 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.4934, allocations: 30.56 kB / 0.5926 GB, free: 12.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.4934, allocations: 4 kB / 0.5926 GB, free: 12.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002829/0.4937, allocations: 89.31 kB / 0.5927 GB, free: 12.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.4937, allocations: 51.41 kB / 0.5927 GB, free: 12.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.4938, allocations: 104.7 kB / 0.5928 GB, free: 12.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.4938, allocations: 25.7 kB / 0.5929 GB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.4939, allocations: 111.8 kB / 0.593 GB, free: 12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.4939, allocations: 19.64 kB / 0.593 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.4939, allocations: 0 / 0.593 GB, free: 11.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4941, allocations: 322.6 kB / 0.5933 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.4941, allocations: 15.62 kB / 0.5933 GB, free: 11.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.4942, allocations: 26.19 kB / 0.5933 GB, free: 11.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.4942, allocations: 23.56 kB / 0.5934 GB, free: 11.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.4942, allocations: 0 / 0.5934 GB, free: 11.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001465/0.4944, allocations: 85.92 kB / 0.5934 GB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4944, allocations: 4 kB / 0.5934 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4944, allocations: 4 kB / 0.5934 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.4946, allocations: 20.72 kB / 0.5935 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4947, allocations: 32 kB / 0.5935 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/0.4957, allocations: 1.257 MB / 0.5947 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4958, allocations: 23.91 kB / 0.5947 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4958, allocations: 160 / 0.5947 GB, free: 10.13 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 0.0001057/0.4959, allocations: 105 kB / 0.5948 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.496, allocations: 3.906 kB / 0.5949 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.496, allocations: 16.48 kB / 0.5949 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.496, allocations: 4.062 kB / 0.5949 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.496, allocations: 0 / 0.5949 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.496, allocations: 3.938 kB / 0.5949 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.4965, allocations: 347.7 kB / 0.5952 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4965, allocations: 0 / 0.5952 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4966, allocations: 31.94 kB / 0.5952 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.869e-05/0.4967, allocations: 16.61 kB / 0.5953 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4967, allocations: 8.078 kB / 0.5953 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007904/0.4975, allocations: 1.262 MB / 0.5965 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4975, allocations: 0 / 0.5965 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.4977, allocations: 194.3 kB / 0.5967 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.4978, allocations: 88.94 kB / 0.5968 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.4978, allocations: 8.062 kB / 0.5968 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4979, allocations: 11.98 kB / 0.5968 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.498, allocations: 12.3 kB / 0.5968 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.498, allocations: 4 kB / 0.5968 GB, free: 7.918 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.498, allocations: 90.91 kB / 0.5969 GB, free: 7.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.498, allocations: 0 / 0.5969 GB, free: 7.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.4982, allocations: 19.91 kB / 0.5969 GB, free: 7.812 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 9.965e-05/0.4984, allocations: 99.19 kB / 0.597 GB, free: 7.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.4986, allocations: 144.5 kB / 0.5971 GB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4986, allocations: 0 / 0.5971 GB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.4987, allocations: 132.4 kB / 0.5973 GB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.4989, allocations: 7.938 kB / 0.5973 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.4992, allocations: 124.9 kB / 0.5974 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.4995, allocations: 0.7008 MB / 0.5981 GB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.4995, allocations: 192 / 0.5981 GB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.4995, allocations: 11.44 kB / 0.5981 GB, free: 6.555 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4995, allocations: 4 kB / 0.5981 GB, free: 6.551 MB / 394.7 MB Notification: Performance of Templates: time 0.002918/0.5025, allocations: 0.8441 MB / 0.5989 GB, free: 5.723 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches