Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 111.8 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001373, allocations: 207.9 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 87.84 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2917, allocations: 62.42 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003431/0.2952, allocations: 2.496 MB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2965, allocations: 0.8403 MB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2967, allocations: 4 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.2969, allocations: 62.84 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.2971, allocations: 100.9 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2974, allocations: 106.3 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.2977, allocations: 350.4 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2979, allocations: 93.94 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.2981, allocations: 137.2 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.2983, allocations: 161.9 kB / 0.5359 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.2984, allocations: 30.25 kB / 0.5359 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.2985, allocations: 31.62 kB / 0.5359 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.2985, allocations: 76 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.2987, allocations: 149.4 kB / 0.5362 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.2991, allocations: 385.9 kB / 0.5365 GB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2991, allocations: 7.938 kB / 0.5365 GB, free: 9.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2992, allocations: 0 / 0.5365 GB, free: 9.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2992, allocations: 0 / 0.5365 GB, free: 9.848 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001048/0.3002, allocations: 0.6205 MB / 0.5371 GB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3003, allocations: 8.969 kB / 0.5371 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.3004, allocations: 40.5 kB / 0.5372 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.3008, allocations: 265.6 kB / 0.5374 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.3008, allocations: 19.09 kB / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.3009, allocations: 27.34 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.3014, allocations: 252.1 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3014, allocations: 0 / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.3014, allocations: 9.781 kB / 0.5377 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3014, allocations: 9.812 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.3019, allocations: 233.6 kB / 0.538 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.3033, allocations: 0.8844 MB / 0.5388 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.3039, allocations: 302.7 kB / 0.5391 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.3042, allocations: 146 kB / 0.5393 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.3043, allocations: 15.41 kB / 0.5393 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3043, allocations: 32.84 kB / 0.5393 GB, free: 7.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.3043, allocations: 0 / 0.5393 GB, free: 7.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.004796/0.3091, allocations: 1.265 MB / 0.5405 GB, free: 6.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.3091, allocations: 59.23 kB / 0.5406 GB, free: 6.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3094, allocations: 228.3 kB / 0.5408 GB, free: 6.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3094, allocations: 30.86 kB / 0.5408 GB, free: 6.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3095, allocations: 173.9 kB / 0.541 GB, free: 6.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.3096, allocations: 99.14 kB / 0.5411 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/0.3097, allocations: 59.23 kB / 0.5412 GB, free: 6.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3098, allocations: 332.8 kB / 0.5415 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.31, allocations: 93.55 kB / 0.5416 GB, free: 5.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.3103, allocations: 123.2 kB / 0.5417 GB, free: 5.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.3107, allocations: 236.7 kB / 0.5419 GB, free: 5.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3108, allocations: 4 kB / 0.5419 GB, free: 5.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001899/0.3127, allocations: 0.5487 MB / 0.5424 GB, free: 5.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3127, allocations: 8.219 kB / 0.5425 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3127, allocations: 1.062 kB / 0.5425 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.3145, allocations: 311.2 kB / 0.5427 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3147, allocations: 26.41 kB / 0.5428 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007341/0.322, allocations: 6.847 MB / 0.5495 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.3223, allocations: 27.77 kB / 0.5495 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3223, allocations: 8 kB / 0.5495 GB, free: 14.57 MB / 414.1 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.3225, allocations: 142 kB / 0.5496 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.3225, allocations: 27.62 kB / 0.5497 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.3244, allocations: 0.5517 MB / 0.5502 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3244, allocations: 15.97 kB / 0.5502 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3244, allocations: 0 / 0.5502 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.3245, allocations: 108.7 kB / 0.5503 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.3245, allocations: 0 / 0.5503 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.3247, allocations: 19.98 kB / 0.5503 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.3248, allocations: 31.94 kB / 0.5504 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001676/0.3265, allocations: 0.582 MB / 0.5509 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000836/0.3274, allocations: 0.6057 MB / 0.5515 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002141/0.3276, allocations: 100.5 kB / 0.5516 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3277, allocations: 174 kB / 0.5518 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Backend: time 4.81e-07/0.3277, allocations: 0 / 0.5518 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3289, allocations: 0.743 MB / 0.5525 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 0.001059/0.33, allocations: 1.127 MB / 0.5536 GB, free: 10.16 MB / 414.1 MB Notification: Performance of Templates: time 0.01067/0.3407, allocations: 6.581 MB / 0.56 GB, free: 3.613 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches