Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 201.9 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009089/0.0009089, allocations: 102.8 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002465, allocations: 11.98 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.231, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003183/0.2342, allocations: 3.538 MB / 415.6 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2355, allocations: 1.127 MB / 416.7 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.2357, allocations: 11.94 kB / 416.7 MB, free: 21.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2359, allocations: 67.52 kB / 416.8 MB, free: 21.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.2362, allocations: 154.8 kB / 416.9 MB, free: 20.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.2365, allocations: 119.8 kB / 417.1 MB, free: 20.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.237, allocations: 0.6459 MB / 417.7 MB, free: 20.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.2373, allocations: 175.9 kB / 417.9 MB, free: 19.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.2376, allocations: 223 kB / 418.1 MB, free: 19.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.2378, allocations: 266.6 kB / 418.4 MB, free: 19.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.2378, allocations: 32 kB / 418.4 MB, free: 19.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2379, allocations: 36 kB / 418.4 MB, free: 19.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.238, allocations: 103.5 kB / 418.5 MB, free: 19.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.2382, allocations: 300.2 kB / 418.8 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.2386, allocations: 0.6007 MB / 419.4 MB, free: 18.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2386, allocations: 0 / 419.4 MB, free: 18.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2386, allocations: 0 / 419.4 MB, free: 18.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.2386, allocations: 4 kB / 419.4 MB, free: 18.43 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.001057/0.2397, allocations: 0.7833 MB / 420.2 MB, free: 17.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2398, allocations: 12.03 kB / 420.2 MB, free: 17.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/0.24, allocations: 88.25 kB / 420.3 MB, free: 17.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.2404, allocations: 367.6 kB / 420.7 MB, free: 17.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2404, allocations: 37.38 kB / 420.7 MB, free: 17.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.2405, allocations: 52.28 kB / 420.8 MB, free: 17.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.2411, allocations: 479.5 kB / 421.2 MB, free: 16.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2412, allocations: 4 kB / 421.2 MB, free: 16.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.2412, allocations: 20 kB / 421.2 MB, free: 16.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2412, allocations: 12 kB / 421.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.2417, allocations: 344.3 kB / 421.6 MB, free: 16.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.2439, allocations: 1.709 MB / 423.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.2443, allocations: 273 kB / 423.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.2445, allocations: 145.7 kB / 423.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2445, allocations: 4 kB / 423.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.2445, allocations: 38.55 kB / 423.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.2446, allocations: 4 kB / 423.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001614/0.2462, allocations: 0.9616 MB / 424.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2462, allocations: 89.03 kB / 424.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.2465, allocations: 381.5 kB / 425.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2466, allocations: 37.7 kB / 425.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2467, allocations: 283.4 kB / 425.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.2467, allocations: 114.4 kB / 425.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.2468, allocations: 8 kB / 425.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.2468, allocations: 350.7 kB / 426 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.247, allocations: 104.8 kB / 426.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.2472, allocations: 198.6 kB / 426.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.2476, allocations: 317.7 kB / 426.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2477, allocations: 0 / 426.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006646/0.2483, allocations: 453.2 kB / 427 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2483, allocations: 4 kB / 427 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2484, allocations: 8.297 kB / 427 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.2487, allocations: 85.66 kB / 427.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.249, allocations: 71.91 kB / 427.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.2506, allocations: 2.861 MB / 430 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.2508, allocations: 23.91 kB / 430.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.2509, allocations: 12 kB / 430.1 MB, free: 7.078 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.0001491/0.251, allocations: 177.5 kB / 430.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.2511, allocations: 39.53 kB / 430.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.2512, allocations: 51.45 kB / 430.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2512, allocations: 4.062 kB / 430.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2512, allocations: 4 kB / 430.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2512, allocations: 0 / 430.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.2522, allocations: 0.948 MB / 431.3 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2522, allocations: 0 / 431.3 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.2524, allocations: 51.91 kB / 431.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.2526, allocations: 77.64 kB / 431.4 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.2527, allocations: 8 kB / 431.4 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.2542, allocations: 2.861 MB / 434.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2542, allocations: 0 / 434.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.2549, allocations: 0.6168 MB / 434.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.255, allocations: 120.6 kB / 435 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.2551, allocations: 11.94 kB / 435 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.2554, allocations: 35.97 kB / 435.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.2555, allocations: 23.97 kB / 435.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.2555, allocations: 12 kB / 435.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.2557, allocations: 275.1 kB / 435.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2557, allocations: 0 / 435.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000483/0.2562, allocations: 116 kB / 435.5 MB, free: 1.273 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.0001367/0.2564, allocations: 117.9 kB / 435.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007692/0.2571, allocations: 0.5171 MB / 436.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2572, allocations: 3.938 kB / 436.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.2576, allocations: 393.8 kB / 436.5 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.2581, allocations: 53.48 kB / 436.5 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2598, allocations: 1.236 MB / 437.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.2603, allocations: 0.8469 MB / 438.6 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.2605, allocations: 35.31 kB / 438.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/0.2606, allocations: 31.42 kB / 438.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2606, allocations: 0 / 438.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Templates: time 0.009004/0.2696, allocations: 4.363 MB / 443.1 MB, free: 9.578 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches