Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009717/0.0009718, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.297/1.297, allocations: 221.3 MB / 235.5 MB, free: 2.883 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 92.91 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.371e-05, allocations: 0 / 343.8 MB, free: 4.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09205, allocations: 50.42 MB / 394.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2965/0.3886, allocations: 80.98 MB / 475.2 MB, free: 6.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.3889, allocations: 91.75 kB / 475.3 MB, free: 6.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02646/0.4154, allocations: 11.38 MB / 486.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4154, allocations: 0 / 486.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4154, allocations: 7.938 kB / 486.7 MB, free: 10.94 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00118/0.4166, allocations: 0.6004 MB / 487.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4167, allocations: 12.03 kB / 487.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006589/0.4173, allocations: 107.5 kB / 487.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.4177, allocations: 252.1 kB / 487.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.4177, allocations: 28.78 kB / 487.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.4178, allocations: 32 kB / 487.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.4183, allocations: 326.9 kB / 488.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4183, allocations: 7.906 kB / 488.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.4184, allocations: 12 kB / 488.1 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4184, allocations: 15.89 kB / 488.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.4188, allocations: 227.1 kB / 488.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.4207, allocations: 1.46 MB / 489.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.4213, allocations: 0.6926 MB / 490.5 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.4215, allocations: 105.6 kB / 490.6 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-05/0.4216, allocations: 93.08 kB / 490.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.4216, allocations: 34.56 kB / 490.7 MB, free: 6.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.4216, allocations: 0 / 490.7 MB, free: 6.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005168/0.4221, allocations: 249.7 kB / 490.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4222, allocations: 55.41 kB / 491 MB, free: 6.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.4223, allocations: 154.5 kB / 491.1 MB, free: 6.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.4223, allocations: 29.7 kB / 491.2 MB, free: 6.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.4224, allocations: 172 kB / 491.3 MB, free: 5.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.4225, allocations: 82.84 kB / 491.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.4225, allocations: 11.94 kB / 491.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4227, allocations: 330.8 kB / 491.8 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.4228, allocations: 64.56 kB / 491.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.4229, allocations: 115.4 kB / 491.9 MB, free: 5.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4231, allocations: 86.06 kB / 492 MB, free: 5.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4231, allocations: 3.953 kB / 492 MB, free: 5.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005183/0.4236, allocations: 319.9 kB / 492.3 MB, free: 4.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4236, allocations: 8 kB / 492.3 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4236, allocations: 0 / 492.3 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.4239, allocations: 72.81 kB / 492.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.4241, allocations: 43.92 kB / 492.5 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.426, allocations: 1.819 MB / 494.3 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.4261, allocations: 27.69 kB / 494.3 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4262, allocations: 12 kB / 494.3 MB, free: 2.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.4263, allocations: 120.9 kB / 494.4 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.4263, allocations: 15.81 kB / 494.4 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/0.4269, allocations: 284.1 kB / 494.7 MB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4269, allocations: 4 kB / 494.7 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4269, allocations: 4 kB / 494.7 MB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4269, allocations: 7.922 kB / 494.7 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.4278, allocations: 0.6942 MB / 495.4 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4278, allocations: 3.984 kB / 495.4 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.428, allocations: 20 kB / 495.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.4282, allocations: 72.81 kB / 495.5 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.4282, allocations: 11.98 kB / 495.5 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.4298, allocations: 1.813 MB / 497.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4299, allocations: 0 / 497.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.4305, allocations: 450.9 kB / 497.8 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.4306, allocations: 112.9 kB / 497.9 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.4306, allocations: 7.953 kB / 497.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4307, allocations: 8 kB / 497.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.4308, allocations: 15.98 kB / 497.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.4308, allocations: 7.984 kB / 497.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.648e-05/0.4309, allocations: 127.5 kB / 498.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4309, allocations: 0 / 498.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004509/0.4313, allocations: 104 kB / 498.2 MB, free: 14.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002132/0.4316, allocations: 144.5 kB / 498.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.4321, allocations: 334.2 kB / 498.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4321, allocations: 3.938 kB / 498.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.4324, allocations: 238.4 kB / 498.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.4327, allocations: 28.2 kB / 498.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.4334, allocations: 396 kB / 499.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.4337, allocations: 0.7635 MB / 0.4883 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.4338, allocations: 26.06 kB / 0.4884 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.4339, allocations: 15.44 kB / 0.4884 GB, free: 12.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4339, allocations: 0 / 0.4884 GB, free: 12.64 MB / 378.7 MB Notification: Performance of Templates: time 0.005927/0.4398, allocations: 2.555 MB / 0.4909 GB, free: 10.1 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches