Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 177.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007688/0.0007688, allocations: 101.2 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002119/0.1859, allocations: 2.318 MB / 376.9 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1871, allocations: 0.7277 MB / 377.6 MB, free: 43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.1873, allocations: 6.688 kB / 377.6 MB, free: 43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.1874, allocations: 46.73 kB / 377.6 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1876, allocations: 72.94 kB / 377.7 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.188, allocations: 89.72 kB / 377.8 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.1885, allocations: 406.3 kB / 378.2 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.1888, allocations: 165.4 kB / 378.4 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.1891, allocations: 136.9 kB / 378.5 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1893, allocations: 164.2 kB / 378.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.1894, allocations: 24.19 kB / 378.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.1894, allocations: 22.81 kB / 378.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.1895, allocations: 68.78 kB / 378.8 MB, free: 42.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.1896, allocations: 93.52 kB / 378.9 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.1898, allocations: 373 kB / 379.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1899, allocations: 0 / 379.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1899, allocations: 1.375 kB / 379.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1899, allocations: 0 / 379.2 MB, free: 41.89 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0008978/0.1908, allocations: 0.6236 MB / 379.8 MB, free: 41.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1908, allocations: 13.66 kB / 379.9 MB, free: 41.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1909, allocations: 45.69 kB / 379.9 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.1912, allocations: 278.8 kB / 380.2 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.1912, allocations: 29.78 kB / 380.2 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/0.1913, allocations: 39.75 kB / 380.2 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.192, allocations: 452 kB / 380.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.192, allocations: 3.938 kB / 380.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.1921, allocations: 20.91 kB / 380.7 MB, free: 40.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1921, allocations: 9.281 kB / 380.7 MB, free: 40.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/0.1927, allocations: 283.5 kB / 381 MB, free: 40.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.1942, allocations: 1.311 MB / 382.3 MB, free: 39.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.1947, allocations: 248.9 kB / 382.6 MB, free: 39.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.195, allocations: 195 kB / 382.7 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.195, allocations: 2.812 kB / 382.7 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.195, allocations: 36.59 kB / 382.8 MB, free: 39.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.1951, allocations: 0 / 382.8 MB, free: 39.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001288/0.1964, allocations: 0.5474 MB / 383.3 MB, free: 38.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1964, allocations: 239.8 kB / 383.6 MB, free: 38.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.1966, allocations: 207.9 kB / 383.8 MB, free: 38.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1966, allocations: 35.86 kB / 383.8 MB, free: 38.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1967, allocations: 198.7 kB / 384 MB, free: 38.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.1967, allocations: 102.5 kB / 384.1 MB, free: 38.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.1968, allocations: 5.031 kB / 384.1 MB, free: 38.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.1968, allocations: 332.1 kB / 384.4 MB, free: 37.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.197, allocations: 78.73 kB / 384.5 MB, free: 37.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.1971, allocations: 155.7 kB / 384.7 MB, free: 37.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1973, allocations: 94.61 kB / 384.7 MB, free: 37.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1973, allocations: 4 kB / 384.7 MB, free: 37.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004089/0.1978, allocations: 275.5 kB / 385 MB, free: 37.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1978, allocations: 13.09 kB / 385 MB, free: 37.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1978, allocations: 0.9688 kB / 385 MB, free: 37.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1978, allocations: 2.562 kB / 385 MB, free: 37.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.1981, allocations: 79.2 kB / 385.1 MB, free: 37.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1981, allocations: 2.344 kB / 385.1 MB, free: 37.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.1983, allocations: 38.31 kB / 385.2 MB, free: 37.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1983, allocations: 7.75 kB / 385.2 MB, free: 37.39 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.1985, allocations: 160.6 kB / 385.3 MB, free: 37.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.1986, allocations: 24.48 kB / 385.3 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.1986, allocations: 34.92 kB / 385.4 MB, free: 37.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1987, allocations: 3.469 kB / 385.4 MB, free: 37.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.1987, allocations: 6.312 kB / 385.4 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1987, allocations: 3.984 kB / 385.4 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.1995, allocations: 0.7668 MB / 386.2 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1996, allocations: 5.094 kB / 386.2 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.1998, allocations: 59.02 kB / 386.2 MB, free: 36.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002843/0.2001, allocations: 91.84 kB / 386.3 MB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2001, allocations: 6.188 kB / 386.3 MB, free: 36.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.2015, allocations: 1.825 MB / 388.1 MB, free: 34.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2015, allocations: 4.031 kB / 388.1 MB, free: 34.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.2021, allocations: 0.5093 MB / 388.7 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.2021, allocations: 104.8 kB / 388.8 MB, free: 33.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.2022, allocations: 8.062 kB / 388.8 MB, free: 33.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2023, allocations: 12 kB / 388.8 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.2024, allocations: 19.97 kB / 388.8 MB, free: 33.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2024, allocations: 11.98 kB / 388.8 MB, free: 33.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.486e-05/0.2025, allocations: 152.4 kB / 389 MB, free: 33.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2025, allocations: 0 / 389 MB, free: 33.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.2028, allocations: 111.6 kB / 389.1 MB, free: 33.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.519e-05/0.2029, allocations: 107.1 kB / 389.2 MB, free: 33.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2032, allocations: 212.1 kB / 389.4 MB, free: 33.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2033, allocations: 0 / 389.4 MB, free: 33.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.2036, allocations: 286.3 kB / 389.7 MB, free: 33.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.2039, allocations: 30.91 kB / 389.7 MB, free: 33.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009881/0.2048, allocations: 1.076 MB / 390.8 MB, free: 31.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.205, allocations: 0.787 MB / 391.5 MB, free: 31.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.2051, allocations: 19.44 kB / 391.6 MB, free: 31.1 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2051, allocations: 0 / 391.6 MB, free: 31.1 MB / 298.7 MB Notification: Performance of Templates: time 0.004355/0.2094, allocations: 3.922 MB / 395.5 MB, free: 27.17 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches