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/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) 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001226/0.001226, allocations: 192 kB / 18.62 MB, free: 4.41 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.265/1.265, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008785/0.0008786, allocations: 55.36 kB / 302.1 MB, free: 5.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07411/0.075, allocations: 49.44 MB / 351.5 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003519/0.07855, allocations: 2.83 MB / 354.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.07995, allocations: 1.145 MB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.08007, allocations: 15.94 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.08133, allocations: 0.6174 MB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.08157, allocations: 131.1 kB / 356.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.08265, allocations: 0.6882 MB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.08296, allocations: 294.6 kB / 357.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.08334, allocations: 270.8 kB / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.08349, allocations: 139.5 kB / 357.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.08367, allocations: 163.4 kB / 357.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.08371, allocations: 24 kB / 357.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.08398, allocations: 175.8 kB / 358 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.08404, allocations: 63.77 kB / 358 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.08416, allocations: 151.3 kB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.08459, allocations: 498.4 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.0846, allocations: 4 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08461, allocations: 0 / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.08462, allocations: 0 / 358.7 MB, free: 12.46 MB / 302.1 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.001344/0.08597, allocations: 0.7216 MB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.08601, allocations: 12.03 kB / 359.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007329/0.08675, allocations: 120.5 kB / 359.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.08704, allocations: 260.5 kB / 359.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.08706, allocations: 25.03 kB / 359.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.08711, allocations: 32.31 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.08756, allocations: 341 kB / 360.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.08758, allocations: 3.938 kB / 360.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.08762, allocations: 12 kB / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.08763, allocations: 8 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.088, allocations: 242.5 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.0896, allocations: 1.439 MB / 361.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.09014, allocations: 0.6888 MB / 362.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.09029, allocations: 104.8 kB / 362.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.491e-05/0.09038, allocations: 89.03 kB / 362.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.0904, allocations: 30.56 kB / 362.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.09041, allocations: 11.94 kB / 362.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001041/0.09146, allocations: 495 kB / 363.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.0915, allocations: 55.41 kB / 363.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.09166, allocations: 173.1 kB / 363.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.09168, allocations: 29.7 kB / 363.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.09178, allocations: 184 kB / 363.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.09184, allocations: 78.77 kB / 363.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.09192, allocations: 53.98 kB / 363.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.09204, allocations: 326.8 kB / 364.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.09215, allocations: 72.53 kB / 364.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.0923, allocations: 133 kB / 364.4 MB, free: 6.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.09256, allocations: 221 kB / 364.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.09257, allocations: 0 / 364.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005095/0.09309, allocations: 327.5 kB / 364.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.09311, allocations: 4 kB / 364.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.09312, allocations: 4 kB / 364.9 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.09339, allocations: 84.95 kB / 365 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.09353, allocations: 39.98 kB / 365 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.09533, allocations: 2.037 MB / 367.1 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.09546, allocations: 31.66 kB / 367.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.0955, allocations: 16.06 kB / 367.1 MB, free: 3.363 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.09562, allocations: 145.8 kB / 367.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.09566, allocations: 19.75 kB / 367.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.09616, allocations: 284 kB / 367.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.09618, allocations: 4 kB / 367.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.09619, allocations: 0 / 367.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.0962, allocations: 4 kB / 367.6 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.09702, allocations: 0.6864 MB / 368.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.09703, allocations: 0 / 368.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.09714, allocations: 27.92 kB / 368.3 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.09735, allocations: 76.81 kB / 368.3 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.09737, allocations: 4 kB / 368.3 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1257/0.2231, allocations: 2.024 MB / 370.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2231, allocations: 1.641 kB / 370.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.2238, allocations: 451.8 kB / 370.8 MB, free: 24.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.2239, allocations: 115.9 kB / 370.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.2239, allocations: 5.828 kB / 370.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.224, allocations: 1.812 kB / 370.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.2241, allocations: 19.89 kB / 371 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.2241, allocations: 7.469 kB / 371 MB, free: 24.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.2242, allocations: 126.6 kB / 371.1 MB, free: 24.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2242, allocations: 0 / 371.1 MB, free: 24.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004713/0.2247, allocations: 97.86 kB / 371.2 MB, free: 24.52 MB / 302.1 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 () * Number of clocked 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 (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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.2248, allocations: 128.5 kB / 371.3 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.2254, allocations: 353.8 kB / 371.7 MB, free: 24.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2254, allocations: 0 / 371.7 MB, free: 24.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.2257, allocations: 246.8 kB / 371.9 MB, free: 24.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.226, allocations: 26.11 kB / 371.9 MB, free: 24.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.2269, allocations: 0.5634 MB / 372.5 MB, free: 23.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.227, allocations: 0.7549 MB / 373.2 MB, free: 23.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.006e-05/0.2271, allocations: 22.28 kB / 373.3 MB, free: 23.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.2272, allocations: 18.41 kB / 373.3 MB, free: 23.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2272, allocations: 0.875 kB / 373.3 MB, free: 23.25 MB / 302.1 MB Notification: Performance of Templates: time 0.3003/0.5275, allocations: 2.603 MB / 375.9 MB, free: 23.11 MB / 302.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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