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.0009558/0.0009559, allocations: 177.9 kB / 17.06 MB, free: 5.098 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.334/1.334, allocations: 223.2 MB / 241 MB, free: 10.15 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.0007973/0.0007972, allocations: 92.88 kB / 292.1 MB, free: 10.71 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.376/0.376, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 8 kB / 459.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3615, allocations: 61.89 MB / 0.5096 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.4775, allocations: 91.89 MB / 0.5993 GB, free: 3.277 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4778, allocations: 75.92 kB / 0.5994 GB, free: 3.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02358/0.5014, allocations: 9.262 MB / 0.6084 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5014, allocations: 4 kB / 0.6084 GB, free: 9.914 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.5015, allocations: 8 kB / 0.6084 GB, free: 9.906 MB / 426.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.001132/0.5026, allocations: 0.6906 MB / 0.6091 GB, free: 9.168 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5026, allocations: 8.031 kB / 0.6091 GB, free: 9.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.5028, allocations: 47.44 kB / 0.6091 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.5032, allocations: 304.3 kB / 0.6094 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.5032, allocations: 40.95 kB / 0.6095 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.5033, allocations: 48 kB / 0.6095 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008469/0.5042, allocations: 458.9 kB / 0.61 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.5042, allocations: 0 / 0.61 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.5042, allocations: 20 kB / 0.61 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5043, allocations: 16 kB / 0.61 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000743/0.505, allocations: 327.8 kB / 0.6103 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.5076, allocations: 1.719 MB / 0.612 GB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.5082, allocations: 245.9 kB / 0.6122 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.5083, allocations: 0 / 0.6122 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.5083, allocations: 42.72 kB / 0.6123 GB, free: 5.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/0.5083, allocations: 3.938 kB / 0.6123 GB, free: 5.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.00278/0.5111, allocations: 1.238 MB / 0.6135 GB, free: 4.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.5112, allocations: 81.11 kB / 0.6135 GB, free: 4.285 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.5114, allocations: 237.6 kB / 0.6138 GB, free: 4.051 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.5114, allocations: 29.7 kB / 0.6138 GB, free: 4.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.5116, allocations: 259.5 kB / 0.614 GB, free: 3.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.5117, allocations: 118.3 kB / 0.6142 GB, free: 3.641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.5117, allocations: 12 kB / 0.6142 GB, free: 3.629 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5118, allocations: 334.8 kB / 0.6145 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.5121, allocations: 112.8 kB / 0.6146 GB, free: 3.184 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.5124, allocations: 199.9 kB / 0.6148 GB, free: 2.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.5127, allocations: 147.6 kB / 0.6149 GB, free: 2.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5127, allocations: 0 / 0.6149 GB, free: 2.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007809/0.5135, allocations: 412 kB / 0.6153 GB, free: 2.402 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5136, allocations: 4.344 kB / 0.6153 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.5136, allocations: 11.94 kB / 0.6153 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.5137, allocations: 32.84 kB / 0.6154 GB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.5142, allocations: 119.9 kB / 0.6155 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009589/0.5152, allocations: 1.328 MB / 0.6168 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.5154, allocations: 23.98 kB / 0.6168 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.5154, allocations: 16 kB / 0.6168 GB, free: 0.7305 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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.0001828/0.5156, allocations: 165.7 kB / 0.617 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.5157, allocations: 35.62 kB / 0.617 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.821e-05/0.5158, allocations: 34.17 kB / 0.617 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5158, allocations: 4 kB / 0.617 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.5158, allocations: 0 / 0.617 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5158, allocations: 7.984 kB / 0.6171 GB, free: 488 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.5164, allocations: 421.3 kB / 0.6175 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5164, allocations: 0 / 0.6175 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.5168, allocations: 91.94 kB / 0.6175 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.712e-05/0.5169, allocations: 32.78 kB / 0.6176 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.5169, allocations: 4 kB / 0.6176 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008575/0.5178, allocations: 1.328 MB / 0.6189 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5178, allocations: 4.031 kB / 0.6189 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009692/0.5188, allocations: 0.6116 MB / 0.6195 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.5189, allocations: 124.7 kB / 0.6196 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.519, allocations: 11.98 kB / 0.6196 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.5193, allocations: 20.08 kB / 0.6196 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.5193, allocations: 27.95 kB / 0.6197 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.5194, allocations: 15.95 kB / 0.6197 GB, free: 13.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.5195, allocations: 178 kB / 0.6198 GB, free: 13.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5195, allocations: 0 / 0.6198 GB, free: 13.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004328/0.52, allocations: 95.98 kB / 0.6199 GB, free: 13.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (31): * Single equations (assignments): 30 * 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.000164/0.5202, allocations: 103.2 kB / 0.62 GB, free: 13.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008148/0.521, allocations: 410.3 kB / 0.6204 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.521, allocations: 0.6875 kB / 0.6204 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.5214, allocations: 260.4 kB / 0.6207 GB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.5217, allocations: 36.55 kB / 0.6207 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.5233, allocations: 1.113 MB / 0.6218 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.5237, allocations: 0.8191 MB / 0.6226 GB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.5239, allocations: 38.94 kB / 0.6226 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.524, allocations: 23.44 kB / 0.6227 GB, free: 10.42 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.524, allocations: 0 / 0.6227 GB, free: 10.42 MB / 442.7 MB Notification: Performance of Templates: time 0.006343/0.5303, allocations: 2.806 MB / 0.6254 GB, free: 7.645 MB / 442.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