Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 178.1 kB / 17.36 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.6 MB / 223.7 MB, free: 8.965 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007433/0.0007433, allocations: 90.42 kB / 272.1 MB, free: 8.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002995, allocations: 8 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2761, allocations: 47.57 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004038/0.2802, allocations: 3.49 MB / 380.1 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.2822, allocations: 0.8888 MB / 381 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.2825, allocations: 7.219 kB / 381 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.2827, allocations: 68.17 kB / 381 MB, free: 42.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.2831, allocations: 152.9 kB / 381.2 MB, free: 41.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.2834, allocations: 121.8 kB / 381.3 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006653/0.2841, allocations: 0.6419 MB / 382 MB, free: 41.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.2844, allocations: 179.1 kB / 382.1 MB, free: 41.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.2848, allocations: 225 kB / 382.4 MB, free: 41.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.2851, allocations: 267.9 kB / 382.6 MB, free: 41.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.2852, allocations: 29.91 kB / 382.6 MB, free: 41.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.2853, allocations: 31.56 kB / 382.7 MB, free: 41.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.2854, allocations: 98.56 kB / 382.8 MB, free: 40.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.2856, allocations: 301.5 kB / 383.1 MB, free: 40.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.2862, allocations: 0.5962 MB / 383.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2862, allocations: 1.625 kB / 383.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2862, allocations: 3.938 kB / 383.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2862, allocations: 0 / 383.7 MB, free: 40.27 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00136/0.2876, allocations: 0.7821 MB / 384.4 MB, free: 39.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2876, allocations: 16.83 kB / 384.5 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.2877, allocations: 69 kB / 384.5 MB, free: 39.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.2882, allocations: 360 kB / 384.9 MB, free: 39.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.2882, allocations: 36.78 kB / 384.9 MB, free: 39.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.2883, allocations: 55.7 kB / 385 MB, free: 39.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.2891, allocations: 477 kB / 385.4 MB, free: 38.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2891, allocations: 9.5 kB / 385.5 MB, free: 38.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.2891, allocations: 19.69 kB / 385.5 MB, free: 38.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.2892, allocations: 12.19 kB / 385.5 MB, free: 38.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.2898, allocations: 342.2 kB / 385.8 MB, free: 38.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.2923, allocations: 1.719 MB / 387.5 MB, free: 37.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.2927, allocations: 265 kB / 387.8 MB, free: 37.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.2929, allocations: 146 kB / 387.9 MB, free: 36.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2929, allocations: 4 kB / 387.9 MB, free: 36.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.293, allocations: 42.41 kB / 388 MB, free: 36.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/0.293, allocations: 8 kB / 388 MB, free: 36.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.00163/0.2946, allocations: 0.9635 MB / 389 MB, free: 35.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2946, allocations: 81.11 kB / 389 MB, free: 35.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.295, allocations: 385.6 kB / 389.4 MB, free: 35.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.295, allocations: 33.7 kB / 389.4 MB, free: 35.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2951, allocations: 283.5 kB / 389.7 MB, free: 35.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.2952, allocations: 118.3 kB / 389.8 MB, free: 34.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.2952, allocations: 8 kB / 389.8 MB, free: 34.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.2953, allocations: 350.7 kB / 390.2 MB, free: 34.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.2955, allocations: 104.8 kB / 390.3 MB, free: 34.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2957, allocations: 198.5 kB / 390.5 MB, free: 34.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.296, allocations: 313.3 kB / 390.8 MB, free: 33.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2961, allocations: 0 / 390.8 MB, free: 33.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006538/0.2967, allocations: 452.2 kB / 391.2 MB, free: 33.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2967, allocations: 4 kB / 391.2 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2968, allocations: 4.312 kB / 391.2 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.2971, allocations: 85.66 kB / 391.3 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.2974, allocations: 83.83 kB / 391.4 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.2991, allocations: 2.857 MB / 394.3 MB, free: 30.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.2994, allocations: 24.02 kB / 394.3 MB, free: 30.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.2994, allocations: 16 kB / 394.3 MB, free: 30.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.2996, allocations: 169.6 kB / 394.5 MB, free: 29.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.2997, allocations: 39.53 kB / 394.5 MB, free: 29.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.2997, allocations: 43.53 kB / 394.5 MB, free: 29.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2997, allocations: 8 kB / 394.6 MB, free: 29.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.2998, allocations: 3.984 kB / 394.6 MB, free: 29.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2998, allocations: 0 / 394.6 MB, free: 29.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.3009, allocations: 0.9518 MB / 395.5 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3009, allocations: 0 / 395.5 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.301, allocations: 47.92 kB / 395.6 MB, free: 28.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.3013, allocations: 81.64 kB / 395.6 MB, free: 28.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.3013, allocations: 7.984 kB / 395.6 MB, free: 28.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.3028, allocations: 2.857 MB / 398.5 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3029, allocations: 3.984 kB / 398.5 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007359/0.3036, allocations: 0.6274 MB / 399.1 MB, free: 24.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.3037, allocations: 120.6 kB / 399.2 MB, free: 24.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3037, allocations: 15.94 kB / 399.3 MB, free: 24.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.304, allocations: 27.98 kB / 399.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.3041, allocations: 27.95 kB / 399.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.3041, allocations: 12 kB / 399.3 MB, free: 24.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002304/0.3044, allocations: 271.2 kB / 399.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3044, allocations: 4 kB / 399.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005114/0.3049, allocations: 116 kB / 399.7 MB, free: 24.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001347/0.305, allocations: 111.4 kB / 399.8 MB, free: 24.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007803/0.3058, allocations: 0.5097 MB / 400.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3059, allocations: 0 / 400.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.3064, allocations: 397.7 kB / 400.7 MB, free: 23.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3069, allocations: 61.42 kB / 400.8 MB, free: 23.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3083, allocations: 1.224 MB / 402 MB, free: 21.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.3085, allocations: 0.8353 MB / 402.8 MB, free: 21.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.3087, allocations: 43.28 kB / 402.9 MB, free: 20.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.3088, allocations: 31.44 kB / 402.9 MB, free: 20.95 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3088, allocations: 0 / 402.9 MB, free: 20.95 MB / 298.7 MB Notification: Performance of Templates: time 0.008066/0.3168, allocations: 4.365 MB / 407.3 MB, free: 16.6 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches