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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 111.7 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 186.1 kB / 19.39 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3631, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004084/0.3672, allocations: 3.498 MB / 0.523 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3686, allocations: 0.7859 MB / 0.5237 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.3688, allocations: 8.469 kB / 0.5238 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.369, allocations: 76.16 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.3693, allocations: 132.4 kB / 0.524 GB, free: 436 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.3697, allocations: 122 kB / 0.5241 GB, free: 368 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.3702, allocations: 0.5243 MB / 0.5246 GB, free: 92 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.3706, allocations: 243.8 kB / 0.5248 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.3709, allocations: 218.8 kB / 0.525 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.3712, allocations: 241.6 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.3713, allocations: 54 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.3714, allocations: 48.47 kB / 0.5254 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3715, allocations: 105.4 kB / 0.5255 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.3718, allocations: 251.6 kB / 0.5257 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.3725, allocations: 0.5587 MB / 0.5262 GB, free: 15.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3725, allocations: 0 / 0.5262 GB, free: 15.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3725, allocations: 0 / 0.5262 GB, free: 15.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3726, allocations: 0 / 0.5262 GB, free: 15.28 MB / 398.1 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.001357/0.3739, allocations: 0.7677 MB / 0.527 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.374, allocations: 8.953 kB / 0.527 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.984e-05/0.3741, allocations: 54.73 kB / 0.5271 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.3745, allocations: 328.9 kB / 0.5274 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.3746, allocations: 36.62 kB / 0.5274 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.3747, allocations: 47.19 kB / 0.5274 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.3755, allocations: 462.6 kB / 0.5279 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3756, allocations: 1.344 kB / 0.5279 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.3756, allocations: 27.53 kB / 0.5279 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.3756, allocations: 16.34 kB / 0.5279 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.3764, allocations: 319.3 kB / 0.5282 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.3789, allocations: 1.682 MB / 0.5299 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.3795, allocations: 232.2 kB / 0.5301 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.3799, allocations: 143 kB / 0.5302 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3799, allocations: 2.562 kB / 0.5302 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3799, allocations: 37.06 kB / 0.5303 GB, free: 12.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.3799, allocations: 0 / 0.5303 GB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.002997/0.3829, allocations: 1.356 MB / 0.5316 GB, free: 11.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.383, allocations: 85.33 kB / 0.5317 GB, free: 11.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.3833, allocations: 257 kB / 0.5319 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.3833, allocations: 31.23 kB / 0.532 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.3835, allocations: 269.6 kB / 0.5322 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.3836, allocations: 124.5 kB / 0.5323 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3837, allocations: 75.03 kB / 0.5324 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3839, allocations: 342.2 kB / 0.5327 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.3842, allocations: 109.6 kB / 0.5328 GB, free: 10.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.3845, allocations: 219.3 kB / 0.533 GB, free: 9.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.3852, allocations: 338.2 kB / 0.5334 GB, free: 9.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3852, allocations: 1.25 kB / 0.5334 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008334/0.386, allocations: 428.2 kB / 0.5338 GB, free: 9.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3861, allocations: 6.719 kB / 0.5338 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3861, allocations: 6.969 kB / 0.5338 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.3862, allocations: 29 kB / 0.5338 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.3867, allocations: 125 kB / 0.5339 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.3878, allocations: 1.435 MB / 0.5353 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.3881, allocations: 19.08 kB / 0.5354 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.3881, allocations: 18.25 kB / 0.5354 GB, free: 7.875 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.3883, allocations: 168.8 kB / 0.5355 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.3884, allocations: 33.61 kB / 0.5356 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.3885, allocations: 32.44 kB / 0.5356 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3885, allocations: 5.047 kB / 0.5356 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3885, allocations: 0 / 0.5356 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.3886, allocations: 123.4 kB / 0.5357 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.3887, allocations: 11.06 kB / 0.5357 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.389, allocations: 22.11 kB / 0.5357 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.389, allocations: 33.92 kB / 0.5358 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001093/0.3901, allocations: 0.5103 MB / 0.5363 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009784/0.3911, allocations: 0.6682 MB / 0.5369 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002917/0.3914, allocations: 115.2 kB / 0.537 GB, free: 6.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.3916, allocations: 184.3 kB / 0.5372 GB, free: 6.488 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3916, allocations: 0 / 0.5372 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000978/0.3926, allocations: 404.2 kB / 0.5376 GB, free: 6.203 MB / 398.1 MB Notification: Performance of SimCode: time 0.001531/0.3942, allocations: 1.306 MB / 0.5389 GB, free: 5.137 MB / 398.1 MB Notification: Performance of Templates: time 0.007979/0.4021, allocations: 3.769 MB / 0.5426 GB, free: 3.277 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches