Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 179.7 kB / 14.15 MB, free: 1.172 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.24/1.24, allocations: 221.4 MB / 236 MB, free: 2.922 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.0008054/0.0008055, allocations: 91.55 kB / 287 MB, free: 188 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1854/0.1854, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.359e-05, allocations: 0 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/0.4568, allocations: 91.81 MB / 0.5914 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.457, allocations: 71.97 kB / 0.5914 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02301/0.4801, allocations: 9.256 MB / 0.6005 GB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4801, allocations: 0 / 0.6005 GB, free: 4.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.4801, allocations: 12 kB / 0.6005 GB, free: 4.148 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008965/0.481, allocations: 0.6511 MB / 0.6011 GB, free: 3.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4811, allocations: 11.97 kB / 0.6011 GB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.4811, allocations: 51.44 kB / 0.6012 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.4815, allocations: 308.2 kB / 0.6015 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.4816, allocations: 40.95 kB / 0.6015 GB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.4816, allocations: 48 kB / 0.6016 GB, free: 2.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.4823, allocations: 431 kB / 0.602 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4823, allocations: 4 kB / 0.602 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.4823, allocations: 20 kB / 0.602 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.4824, allocations: 12 kB / 0.602 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.4828, allocations: 283.9 kB / 0.6023 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.485, allocations: 1.709 MB / 0.6039 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.4854, allocations: 209.1 kB / 0.6041 GB, free: 160 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.4856, allocations: 125.6 kB / 0.6043 GB, free: 28 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.4856, allocations: 0 / 0.6043 GB, free: 28 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.4857, allocations: 42.56 kB / 0.6043 GB, free: 15.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.273e-06/0.4857, allocations: 0 / 0.6043 GB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.001967/0.4877, allocations: 1.116 MB / 0.6054 GB, free: 14.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.4877, allocations: 85.11 kB / 0.6055 GB, free: 14.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.4879, allocations: 234.8 kB / 0.6057 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.488, allocations: 33.7 kB / 0.6057 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4881, allocations: 255.5 kB / 0.606 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.4882, allocations: 118.3 kB / 0.6061 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.4882, allocations: 8 kB / 0.6061 GB, free: 14.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4883, allocations: 334.8 kB / 0.6064 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.4885, allocations: 88.88 kB / 0.6065 GB, free: 13.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.4887, allocations: 191.7 kB / 0.6067 GB, free: 13.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.4889, allocations: 113.9 kB / 0.6068 GB, free: 13.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4889, allocations: 7.953 kB / 0.6068 GB, free: 13.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000541/0.4894, allocations: 382.5 kB / 0.6072 GB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4894, allocations: 13.39 kB / 0.6072 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4895, allocations: 4 kB / 0.6072 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.4896, allocations: 29.19 kB / 0.6072 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.49, allocations: 119.9 kB / 0.6073 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009166/0.491, allocations: 1.339 MB / 0.6086 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.4912, allocations: 19.98 kB / 0.6086 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.4912, allocations: 15.94 kB / 0.6087 GB, free: 11.18 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 8.926e-05/0.4913, allocations: 128.9 kB / 0.6088 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.4914, allocations: 31.62 kB / 0.6088 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.4915, allocations: 42.02 kB / 0.6089 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4915, allocations: 4 kB / 0.6089 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4915, allocations: 0 / 0.6089 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.4915, allocations: 4 kB / 0.6089 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008882/0.4924, allocations: 0.7037 MB / 0.6095 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4924, allocations: 8.047 kB / 0.6096 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.4928, allocations: 95.88 kB / 0.6096 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.745e-05/0.4929, allocations: 20.86 kB / 0.6097 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.4929, allocations: 11.98 kB / 0.6097 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008176/0.4937, allocations: 1.335 MB / 0.611 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.4938, allocations: 4.031 kB / 0.611 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.4944, allocations: 0.5916 MB / 0.6116 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4945, allocations: 120.8 kB / 0.6117 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.4946, allocations: 12 kB / 0.6117 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.4948, allocations: 23.98 kB / 0.6117 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.18e-05/0.4949, allocations: 27.91 kB / 0.6117 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.4949, allocations: 12 kB / 0.6118 GB, free: 7.742 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.4951, allocations: 179.1 kB / 0.6119 GB, free: 7.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4951, allocations: 0 / 0.6119 GB, free: 7.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000412/0.4956, allocations: 92 kB / 0.612 GB, free: 7.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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.0001598/0.4957, allocations: 107.2 kB / 0.6121 GB, free: 7.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.4963, allocations: 366.4 kB / 0.6125 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4964, allocations: 0 / 0.6125 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.4967, allocations: 236.9 kB / 0.6127 GB, free: 6.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.497, allocations: 40.55 kB / 0.6127 GB, free: 6.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.4981, allocations: 0.6659 MB / 0.6134 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.4985, allocations: 0.8307 MB / 0.6142 GB, free: 5.156 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.4987, allocations: 34.95 kB / 0.6142 GB, free: 5.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.4987, allocations: 31.38 kB / 0.6143 GB, free: 5.09 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4987, allocations: 0 / 0.6143 GB, free: 5.09 MB / 426.7 MB Notification: Performance of Templates: time 0.006095/0.5048, allocations: 2.853 MB / 0.617 GB, free: 2.27 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches