Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 110 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 209.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1913/0.1913, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 75.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2583, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005713/0.264, allocations: 5.33 MB / 0.5369 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2664, allocations: 1.64 MB / 0.5385 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.2666, allocations: 18.66 kB / 0.5385 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.2697, allocations: 1.592 MB / 0.54 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.2703, allocations: 312.9 kB / 0.5403 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009564/0.2713, allocations: 0.518 MB / 0.5408 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.272, allocations: 0.8049 MB / 0.5416 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008893/0.2729, allocations: 0.7359 MB / 0.5423 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.2732, allocations: 345.6 kB / 0.5427 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.2737, allocations: 461.8 kB / 0.5431 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.805e-05/0.2738, allocations: 73.94 kB / 0.5432 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.2742, allocations: 200.2 kB / 0.5434 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.2743, allocations: 174.5 kB / 0.5435 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.2746, allocations: 427.5 kB / 0.5439 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.2757, allocations: 1.17 MB / 0.5451 GB, free: 3.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2757, allocations: 0 / 0.5451 GB, free: 3.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2757, allocations: 5.312 kB / 0.5451 GB, free: 3.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.2757, allocations: 0 / 0.5451 GB, free: 3.41 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002866/0.2786, allocations: 1.351 MB / 0.5464 GB, free: 2.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2786, allocations: 15.42 kB / 0.5464 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.2801, allocations: 242.7 kB / 0.5467 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2803, allocations: 254.8 kB / 0.5469 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.2804, allocations: 78.31 kB / 0.547 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2805, allocations: 108 kB / 0.5471 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.2818, allocations: 0.9321 MB / 0.548 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.2819, allocations: 8 kB / 0.548 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/0.2819, allocations: 40 kB / 0.548 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.282, allocations: 24 kB / 0.5481 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2831, allocations: 0.7184 MB / 0.5488 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.2874, allocations: 4.071 MB / 0.5527 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.2896, allocations: 3.365 MB / 0.556 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.29, allocations: 300.2 kB / 0.5563 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.2901, allocations: 182.5 kB / 0.5565 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.2902, allocations: 46.89 kB / 0.5565 GB, free: 7.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.214e-06/0.2902, allocations: 0 / 0.5565 GB, free: 7.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.00237/0.2925, allocations: 1.325 MB / 0.5578 GB, free: 5.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.2926, allocations: 140.5 kB / 0.5579 GB, free: 5.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.2929, allocations: 318.8 kB / 0.5583 GB, free: 5.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.293, allocations: 37.7 kB / 0.5583 GB, free: 5.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.2932, allocations: 398.4 kB / 0.5587 GB, free: 4.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.2934, allocations: 228.7 kB / 0.5589 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.2936, allocations: 142.6 kB / 0.559 GB, free: 4.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.2937, allocations: 350.8 kB / 0.5594 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.294, allocations: 201.8 kB / 0.5595 GB, free: 3.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.2944, allocations: 404.6 kB / 0.5599 GB, free: 3.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007472/0.2952, allocations: 0.6181 MB / 0.5605 GB, free: 2.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2952, allocations: 4 kB / 0.5605 GB, free: 2.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001312/0.2965, allocations: 0.8814 MB / 0.5614 GB, free: 1.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2965, allocations: 8 kB / 0.5614 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2966, allocations: 8 kB / 0.5614 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005449/0.2971, allocations: 227.4 kB / 0.5616 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.2976, allocations: 139.8 kB / 0.5618 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/0.3025, allocations: 6.702 MB / 0.5683 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.3029, allocations: 91.14 kB / 0.5684 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.303, allocations: 36 kB / 0.5684 GB, free: 9.934 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.3032, allocations: 221.5 kB / 0.5686 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3034, allocations: 47.59 kB / 0.5687 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.3045, allocations: 0.6909 MB / 0.5694 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3045, allocations: 8 kB / 0.5694 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3045, allocations: 4 kB / 0.5694 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3045, allocations: 7.984 kB / 0.5694 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.3066, allocations: 1.562 MB / 0.5709 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3067, allocations: 3.984 kB / 0.5709 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3069, allocations: 71.86 kB / 0.571 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.3074, allocations: 215.3 kB / 0.5712 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.3074, allocations: 15.94 kB / 0.5712 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004945/0.3124, allocations: 6.698 MB / 0.5777 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3124, allocations: 3.969 kB / 0.5777 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.3138, allocations: 1.187 MB / 0.5789 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.314, allocations: 128.5 kB / 0.579 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.314, allocations: 12 kB / 0.579 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.3143, allocations: 15.98 kB / 0.5791 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.3144, allocations: 59.8 kB / 0.5791 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.3145, allocations: 27.92 kB / 0.5791 GB, free: 14.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.3147, allocations: 206 kB / 0.5793 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3147, allocations: 4 kB / 0.5793 GB, free: 14.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009277/0.3156, allocations: 287.1 kB / 0.5796 GB, free: 13.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * 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): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00023/0.3159, allocations: 139.1 kB / 0.5797 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.3173, allocations: 1.072 MB / 0.5808 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3173, allocations: 0 / 0.5808 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007782/0.3181, allocations: 0.7762 MB / 0.5816 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.3187, allocations: 44.5 kB / 0.5816 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.3208, allocations: 1.254 MB / 0.5828 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.3214, allocations: 0.9072 MB / 0.5837 GB, free: 9.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3215, allocations: 47.42 kB / 0.5837 GB, free: 9.336 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3215, allocations: 0 / 0.5837 GB, free: 9.336 MB / 446.1 MB Notification: Performance of Templates: time 0.01851/0.34, allocations: 19.48 MB / 0.6028 GB, free: 5.832 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches