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.001684/0.001684, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002101/0.002101, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2067/0.2067, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 83.81 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3193, allocations: 62.43 MB / 0.5316 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006763/0.3262, allocations: 5.327 MB / 0.5369 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.3296, allocations: 1.64 MB / 0.5385 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.3301, allocations: 18.72 kB / 0.5385 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.3335, allocations: 1.596 MB / 0.54 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009713/0.3345, allocations: 312.6 kB / 0.5403 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.3356, allocations: 0.5173 MB / 0.5408 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009724/0.3366, allocations: 0.8055 MB / 0.5416 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.3377, allocations: 0.7288 MB / 0.5423 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.3382, allocations: 343.1 kB / 0.5427 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.3388, allocations: 461.1 kB / 0.5431 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.3389, allocations: 74.56 kB / 0.5432 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.3395, allocations: 203.7 kB / 0.5434 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.3397, allocations: 175 kB / 0.5435 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.3401, allocations: 431 kB / 0.5439 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.3415, allocations: 1.165 MB / 0.5451 GB, free: 3.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3415, allocations: 0 / 0.5451 GB, free: 3.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3415, allocations: 0 / 0.5451 GB, free: 3.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.3415, allocations: 0 / 0.5451 GB, free: 3.641 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.003495/0.345, allocations: 1.36 MB / 0.5464 GB, free: 2.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3451, allocations: 10.08 kB / 0.5464 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.3468, allocations: 243.5 kB / 0.5466 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.347, allocations: 259 kB / 0.5469 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.3471, allocations: 74.38 kB / 0.547 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3473, allocations: 112 kB / 0.5471 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.3488, allocations: 0.9321 MB / 0.548 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.3488, allocations: 7.938 kB / 0.548 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.3489, allocations: 40 kB / 0.548 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.3489, allocations: 24 kB / 0.5481 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.3501, allocations: 0.7222 MB / 0.5488 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.3552, allocations: 4.075 MB / 0.5527 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.358, allocations: 3.371 MB / 0.556 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.3585, allocations: 290.1 kB / 0.5563 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.3587, allocations: 182.5 kB / 0.5565 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3587, allocations: 38.89 kB / 0.5565 GB, free: 7.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.494e-06/0.3587, allocations: 0 / 0.5565 GB, free: 7.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002619/0.3613, allocations: 1.333 MB / 0.5578 GB, free: 5.801 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.3614, allocations: 140.5 kB / 0.558 GB, free: 5.633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.3619, allocations: 314.8 kB / 0.5583 GB, free: 5.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.3619, allocations: 37.7 kB / 0.5583 GB, free: 5.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.3622, allocations: 398.4 kB / 0.5587 GB, free: 4.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.3624, allocations: 228.7 kB / 0.5589 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.3626, allocations: 142.6 kB / 0.559 GB, free: 4.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3627, allocations: 354.8 kB / 0.5594 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.3631, allocations: 193.9 kB / 0.5595 GB, free: 3.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.3635, allocations: 408.5 kB / 0.5599 GB, free: 3.484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008243/0.3644, allocations: 0.6181 MB / 0.5605 GB, free: 2.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3644, allocations: 0 / 0.5605 GB, free: 2.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001461/0.3658, allocations: 0.881 MB / 0.5614 GB, free: 1.887 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3659, allocations: 10.84 kB / 0.5614 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3659, allocations: 4 kB / 0.5614 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/0.3666, allocations: 231.2 kB / 0.5616 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.3671, allocations: 139.8 kB / 0.5618 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/0.3731, allocations: 6.706 MB / 0.5683 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006848/0.3738, allocations: 83.03 kB / 0.5684 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.3739, allocations: 39.98 kB / 0.5684 GB, free: 10.11 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.0004071/0.3743, allocations: 225.6 kB / 0.5686 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.3745, allocations: 43.53 kB / 0.5687 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.3758, allocations: 0.687 MB / 0.5694 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3758, allocations: 12 kB / 0.5694 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.3758, allocations: 4 kB / 0.5694 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.3759, allocations: 7.984 kB / 0.5694 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.3785, allocations: 1.57 MB / 0.5709 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3786, allocations: 0 / 0.5709 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3788, allocations: 67.91 kB / 0.571 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/0.3794, allocations: 215.2 kB / 0.5712 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.3794, allocations: 12 kB / 0.5712 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005549/0.385, allocations: 6.705 MB / 0.5777 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.385, allocations: 4.031 kB / 0.5777 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.3866, allocations: 1.187 MB / 0.5789 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.3868, allocations: 120.5 kB / 0.579 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.3869, allocations: 16 kB / 0.579 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.3872, allocations: 15.94 kB / 0.5791 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3874, allocations: 67.8 kB / 0.5791 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.3874, allocations: 20 kB / 0.5791 GB, free: 14.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.3877, allocations: 209.9 kB / 0.5793 GB, free: 14.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3877, allocations: 4 kB / 0.5793 GB, free: 14.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001065/0.3887, allocations: 279.1 kB / 0.5796 GB, free: 13.94 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.0002484/0.389, allocations: 139.2 kB / 0.5797 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.3906, allocations: 1.072 MB / 0.5808 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3907, allocations: 320 / 0.5808 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009048/0.3916, allocations: 0.7755 MB / 0.5815 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.3923, allocations: 48.55 kB / 0.5816 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3945, allocations: 1.266 MB / 0.5828 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.395, allocations: 0.9111 MB / 0.5837 GB, free: 9.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3952, allocations: 47.42 kB / 0.5838 GB, free: 9.496 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3952, allocations: 0 / 0.5838 GB, free: 9.496 MB / 446.1 MB Notification: Performance of Templates: time 0.02074/0.4159, allocations: 19.46 MB / 0.6028 GB, free: 6.012 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