Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 175.7 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 225.7 MB / 243.2 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008688, allocations: 104.2 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.000244, allocations: 11.94 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2094, allocations: 50.41 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.002813/0.2123, allocations: 3.529 MB / 408.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2135, allocations: 0.8415 MB / 408.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.2137, allocations: 8 kB / 408.9 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.2139, allocations: 72.56 kB / 409 MB, free: 26.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.2142, allocations: 152.6 kB / 409.2 MB, free: 26.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.2144, allocations: 123.9 kB / 409.3 MB, free: 26.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.2148, allocations: 0.642 MB / 409.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.2151, allocations: 175.9 kB / 410.1 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.2153, allocations: 227 kB / 410.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.2155, allocations: 262.7 kB / 410.6 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.2155, allocations: 32 kB / 410.6 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.2156, allocations: 32 kB / 410.6 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.2157, allocations: 107.5 kB / 410.8 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.2158, allocations: 296.2 kB / 411 MB, free: 24.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.2162, allocations: 0.6006 MB / 411.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2162, allocations: 0 / 411.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2162, allocations: 0 / 411.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2162, allocations: 0 / 411.6 MB, free: 24.23 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.0009597/0.2172, allocations: 0.7832 MB / 412.4 MB, free: 23.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2172, allocations: 12.03 kB / 412.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.2173, allocations: 60.28 kB / 412.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.2176, allocations: 371.6 kB / 412.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2176, allocations: 37.38 kB / 412.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.2177, allocations: 52.28 kB / 412.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.2183, allocations: 487.5 kB / 413.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2183, allocations: 4 kB / 413.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.2184, allocations: 20 kB / 413.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2184, allocations: 15.94 kB / 413.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.2189, allocations: 332.3 kB / 413.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2208, allocations: 1.705 MB / 415.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.2212, allocations: 276.9 kB / 415.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.2214, allocations: 145.7 kB / 415.9 MB, free: 19.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2214, allocations: 0 / 415.9 MB, free: 19.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2215, allocations: 42.5 kB / 415.9 MB, free: 19.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.303e-06/0.2215, allocations: 0 / 415.9 MB, free: 19.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001452/0.2229, allocations: 0.9647 MB / 416.9 MB, free: 18.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.223, allocations: 81.11 kB / 417 MB, free: 18.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.2233, allocations: 377.6 kB / 417.4 MB, free: 18.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2233, allocations: 37.7 kB / 417.4 MB, free: 18.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.2234, allocations: 291.4 kB / 417.7 MB, free: 17.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.2234, allocations: 106.5 kB / 417.8 MB, free: 17.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.2235, allocations: 11.94 kB / 417.8 MB, free: 17.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.2235, allocations: 358.7 kB / 418.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.2237, allocations: 100.8 kB / 418.2 MB, free: 17.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2239, allocations: 202.5 kB / 418.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.2242, allocations: 307.1 kB / 418.7 MB, free: 16.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2243, allocations: 0 / 418.7 MB, free: 16.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006258/0.2249, allocations: 459.9 kB / 419.2 MB, free: 16.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2249, allocations: 4.312 kB / 419.2 MB, free: 16.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2249, allocations: 8 kB / 419.2 MB, free: 16.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.2252, allocations: 89.91 kB / 419.3 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.2255, allocations: 79.91 kB / 419.4 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.227, allocations: 2.853 MB / 422.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.2273, allocations: 19.91 kB / 422.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2273, allocations: 16 kB / 422.3 MB, free: 12.89 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.0001406/0.2274, allocations: 181.6 kB / 422.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.2275, allocations: 39.53 kB / 422.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.2276, allocations: 43.47 kB / 422.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2276, allocations: 8.062 kB / 422.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2276, allocations: 4 kB / 422.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.2276, allocations: 3.938 kB / 422.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/0.2286, allocations: 0.9439 MB / 423.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2286, allocations: 0 / 423.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.2288, allocations: 47.97 kB / 423.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.229, allocations: 85.58 kB / 423.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2291, allocations: 8 kB / 423.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.2305, allocations: 2.857 MB / 426.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2305, allocations: 0 / 426.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.2312, allocations: 0.6212 MB / 427.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.2313, allocations: 124.7 kB / 427.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.2313, allocations: 7.938 kB / 427.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.2316, allocations: 39.97 kB / 427.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.2317, allocations: 23.97 kB / 427.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2317, allocations: 7.984 kB / 427.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.2319, allocations: 275.1 kB / 427.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2319, allocations: 0 / 427.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004769/0.2324, allocations: 116 kB / 427.7 MB, free: 7.09 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.0001279/0.2326, allocations: 119.2 kB / 427.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007154/0.2333, allocations: 0.5101 MB / 428.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2333, allocations: 0 / 428.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.2337, allocations: 398.4 kB / 428.7 MB, free: 6.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.2342, allocations: 61.98 kB / 428.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2356, allocations: 1.217 MB / 430 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.2358, allocations: 0.8353 MB / 430.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.2359, allocations: 47.28 kB / 430.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.236, allocations: 31.38 kB / 430.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.236, allocations: 0 / 430.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of Templates: time 0.007072/0.2431, allocations: 4.372 MB / 435.2 MB, free: 15.4 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches