Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009684/0.0009683, allocations: 178.1 kB / 17.36 MB, free: 4.32 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.346/1.346, allocations: 205.6 MB / 223.7 MB, free: 8.953 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.0007649/0.000765, allocations: 94.47 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005678/0.2074, allocations: 6.769 MB / 383.4 MB, free: 40.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004235/0.2117, allocations: 2.924 MB / 386.3 MB, free: 37.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.2134, allocations: 52.16 kB / 386.4 MB, free: 37.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.2149, allocations: 489.1 kB / 386.8 MB, free: 37.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.2174, allocations: 0.6773 MB / 387.5 MB, free: 36.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.2183, allocations: 384.4 kB / 387.9 MB, free: 36.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002768/0.221, allocations: 3.799 MB / 391.7 MB, free: 33.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.2232, allocations: 2.785 MB / 394.5 MB, free: 30.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.2256, allocations: 1.229 MB / 395.7 MB, free: 29.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.227, allocations: 1.653 MB / 397.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.2273, allocations: 200 kB / 397.5 MB, free: 27.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000713/0.228, allocations: 423.5 kB / 398 MB, free: 26.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.2286, allocations: 0.9111 MB / 398.9 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.2297, allocations: 1.626 MB / 400.5 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.2329, allocations: 5.727 MB / 406.2 MB, free: 18.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2329, allocations: 0 / 406.2 MB, free: 18.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2329, allocations: 0 / 406.2 MB, free: 18.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001089/0.233, allocations: 0 / 406.2 MB, free: 18.69 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.004686/0.2377, allocations: 3.16 MB / 409.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2377, allocations: 12.03 kB / 409.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.2386, allocations: 384.7 kB / 409.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.2412, allocations: 1.956 MB / 411.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.2413, allocations: 221.8 kB / 411.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.2416, allocations: 284 kB / 412.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005525/0.2471, allocations: 4.171 MB / 416.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.2472, allocations: 4 kB / 416.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.2474, allocations: 120 kB / 416.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.2475, allocations: 137.9 kB / 416.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004297/0.2519, allocations: 3.478 MB / 420.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.2657, allocations: 11.01 MB / 431.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.2684, allocations: 2.639 MB / 433.8 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.2705, allocations: 1.497 MB / 435.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.2708, allocations: 126 kB / 435.4 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.2708, allocations: 51.56 kB / 435.4 MB, free: 4.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.2708, allocations: 0 / 435.4 MB, free: 4.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.00878/0.2796, allocations: 5.301 MB / 440.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.2797, allocations: 90.42 kB / 440.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/0.2823, allocations: 1.898 MB / 442.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.833e-05/0.2824, allocations: 49.7 kB / 442.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009066/0.2834, allocations: 1.318 MB / 444.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.2837, allocations: 465.3 kB / 444.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/0.2838, allocations: 28 kB / 444.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.284, allocations: 369.8 kB / 444.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.2852, allocations: 0.8198 MB / 445.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.2866, allocations: 1.191 MB / 447 MB, free: 9.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/0.2893, allocations: 2.079 MB / 449 MB, free: 6.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.2894, allocations: 4 kB / 449 MB, free: 6.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00406/0.2934, allocations: 2.534 MB / 451.6 MB, free: 4.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2935, allocations: 11.94 kB / 451.6 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.2935, allocations: 12 kB / 451.6 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/0.2954, allocations: 478.4 kB / 452.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.2967, allocations: 335.5 kB / 452.4 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/0.3017, allocations: 4.075 MB / 456.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.3032, allocations: 95.89 kB / 456.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.3033, allocations: 59.98 kB / 456.6 MB, free: 15.1 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001919/0.3052, allocations: 1.048 MB / 457.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005862/0.3058, allocations: 189.7 kB / 457.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.3095, allocations: 2.145 MB / 460 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-05/0.3096, allocations: 16 kB / 460 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3096, allocations: 4 kB / 460 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.3096, allocations: 11.97 kB / 460 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008119/0.3177, allocations: 5.214 MB / 465.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.3178, allocations: 0 / 465.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009626/0.3187, allocations: 231.7 kB / 465.5 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.3206, allocations: 469.1 kB / 465.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.993e-05/0.3207, allocations: 31.92 kB / 466 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.3253, allocations: 3.963 MB / 469.9 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3253, allocations: 3.938 kB / 469.9 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/0.3299, allocations: 3.253 MB / 473.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/0.3309, allocations: 478.6 kB / 473.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.3312, allocations: 28 kB / 473.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/0.3321, allocations: 104 kB / 473.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.3324, allocations: 92.86 kB / 473.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.425e-05/0.3325, allocations: 40 kB / 473.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001907/0.3344, allocations: 1.323 MB / 475.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3344, allocations: 4 kB / 475.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001612/0.336, allocations: 0.5586 MB / 475.8 MB, free: 11.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004791/0.3365, allocations: 222.8 kB / 476 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.3398, allocations: 2.208 MB / 478.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3398, allocations: 0 / 478.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.3416, allocations: 1.222 MB / 479.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.3438, allocations: 493.3 kB / 479.9 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008797/0.3527, allocations: 7.106 MB / 487 MB, free: 296 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/0.3546, allocations: 2.431 MB / 489.5 MB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00142/0.3561, allocations: 491.4 kB / 489.9 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.3565, allocations: 135.4 kB / 490.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3565, allocations: 0 / 490.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of Templates: time 0.1909/0.5474, allocations: 28.65 MB / 0.5066 GB, free: 100.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches