Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000857/0.0008574, allocations: 177.7 kB / 17.36 MB, free: 4.199 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.232/1.232, allocations: 205.6 MB / 223.7 MB, free: 8.93 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.000716/0.000716, allocations: 82.39 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002465, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2124, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003551/0.216, allocations: 3.508 MB / 380.1 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.2189, allocations: 2.322 MB / 382.4 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004794/0.2194, allocations: 14.78 kB / 382.4 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.22, allocations: 174.8 kB / 382.6 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.2213, allocations: 0.8923 MB / 383.5 MB, free: 39.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2223, allocations: 0.9574 MB / 384.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.2231, allocations: 0.5574 MB / 385 MB, free: 38.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.2244, allocations: 1.247 MB / 386.3 MB, free: 37.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.2248, allocations: 209.4 kB / 386.5 MB, free: 37.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.2251, allocations: 289.1 kB / 386.8 MB, free: 37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.2252, allocations: 23.97 kB / 386.8 MB, free: 37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.2256, allocations: 201.4 kB / 387 MB, free: 36.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.2257, allocations: 107.2 kB / 387.1 MB, free: 36.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.2259, allocations: 278 kB / 387.4 MB, free: 36.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006628/0.2265, allocations: 0.7984 MB / 388.2 MB, free: 36.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2266, allocations: 1.156 kB / 388.2 MB, free: 36.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2266, allocations: 0 / 388.2 MB, free: 36.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.2266, allocations: 0 / 388.2 MB, free: 36.05 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00193/0.2285, allocations: 0.921 MB / 389.1 MB, free: 35.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2286, allocations: 13.44 kB / 389.1 MB, free: 35.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/0.2324, allocations: 0.6114 MB / 389.7 MB, free: 34.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.2329, allocations: 381.3 kB / 390.1 MB, free: 34.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.2329, allocations: 46.38 kB / 390.1 MB, free: 34.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.233, allocations: 68.38 kB / 390.2 MB, free: 34.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2341, allocations: 0.8094 MB / 391 MB, free: 33.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2342, allocations: 3.906 kB / 391 MB, free: 33.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-05/0.2342, allocations: 32 kB / 391 MB, free: 33.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.2343, allocations: 22 kB / 391.1 MB, free: 33.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.2355, allocations: 0.8433 MB / 391.9 MB, free: 32.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.2384, allocations: 2.735 MB / 394.6 MB, free: 29.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.2398, allocations: 1.969 MB / 396.6 MB, free: 27.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.2402, allocations: 267.5 kB / 396.9 MB, free: 27.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.2402, allocations: 89.84 kB / 396.9 MB, free: 26.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.2403, allocations: 35 kB / 397 MB, free: 26.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/0.2403, allocations: 0 / 397 MB, free: 26.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001531/0.2418, allocations: 0.8402 MB / 397.8 MB, free: 26.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.2419, allocations: 71.72 kB / 397.9 MB, free: 25.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.2421, allocations: 304.5 kB / 398.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.2421, allocations: 37.7 kB / 398.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.2422, allocations: 283.7 kB / 398.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.2423, allocations: 169.6 kB / 398.7 MB, free: 25.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.2423, allocations: 12 kB / 398.7 MB, free: 25.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.2424, allocations: 346.8 kB / 399 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.2428, allocations: 205.2 kB / 399.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.2432, allocations: 395.9 kB / 399.6 MB, free: 24.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.2439, allocations: 0.6195 MB / 400.2 MB, free: 23.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.244, allocations: 4 kB / 400.2 MB, free: 23.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001044/0.245, allocations: 0.7197 MB / 401 MB, free: 22.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.2451, allocations: 259.8 kB / 401.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2451, allocations: 8 kB / 401.2 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.2453, allocations: 56.83 kB / 401.3 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.2458, allocations: 143.8 kB / 401.4 MB, free: 22.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.2468, allocations: 1.588 MB / 403 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.2472, allocations: 79.2 kB / 403.1 MB, free: 20.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.2473, allocations: 31.98 kB / 403.1 MB, free: 20.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/0.2473, allocations: 6.812 kB / 403.1 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009383/0.2482, allocations: 0.6444 MB / 403.8 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2482, allocations: 4 kB / 403.8 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.2484, allocations: 53.28 kB / 403.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.2488, allocations: 147.7 kB / 404 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000842/0.2496, allocations: 1.515 MB / 405.5 MB, free: 17.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.2499, allocations: 67.31 kB / 405.5 MB, free: 17.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.25, allocations: 35.98 kB / 405.6 MB, free: 17.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.2502, allocations: 256.9 kB / 405.8 MB, free: 17.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.2503, allocations: 39.69 kB / 405.9 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.2513, allocations: 0.618 MB / 406.5 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2513, allocations: 4 kB / 406.5 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2513, allocations: 0 / 406.5 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.2514, allocations: 7.984 kB / 406.5 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.2529, allocations: 1.305 MB / 407.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2529, allocations: 0 / 407.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.2533, allocations: 91.88 kB / 407.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.2534, allocations: 52.83 kB / 407.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.2535, allocations: 19.92 kB / 408 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000977/0.2544, allocations: 1.588 MB / 409.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2544, allocations: 0 / 409.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.2559, allocations: 0.9286 MB / 410.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.256, allocations: 152.5 kB / 410.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.2561, allocations: 12 kB / 410.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.2563, allocations: 23.98 kB / 410.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2564, allocations: 40.39 kB / 410.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.2565, allocations: 15.98 kB / 410.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001902/0.2567, allocations: 215.1 kB / 410.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2567, allocations: 0 / 410.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001008/0.2577, allocations: 275.1 kB / 411.2 MB, free: 11.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002834/0.258, allocations: 144.2 kB / 411.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.2596, allocations: 1.123 MB / 412.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2596, allocations: 0 / 412.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.26, allocations: 397.9 kB / 412.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.2605, allocations: 44.69 kB / 412.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.2621, allocations: 1.302 MB / 414.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2624, allocations: 0.8369 MB / 415 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001107/0.2635, allocations: 1.092 MB / 416.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2636, allocations: 51.42 kB / 416.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2636, allocations: 0 / 416.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of Templates: time 0.008272/0.2719, allocations: 5.361 MB / 421.5 MB, free: 1.426 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches