Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008554/0.0008554, allocations: 173.5 kB / 16.72 MB, free: 5.082 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.162/1.162, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007111/0.0007111, allocations: 90.31 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002915, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1937, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003373/0.1972, allocations: 3.496 MB / 378.7 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1996, allocations: 1.511 MB / 380.2 MB, free: 41.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.1999, allocations: 15 kB / 380.2 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.2003, allocations: 144.3 kB / 380.4 MB, free: 41.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009586/0.2013, allocations: 470.5 kB / 380.8 MB, free: 41.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.2021, allocations: 448.8 kB / 381.3 MB, free: 40.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.2026, allocations: 0.5276 MB / 381.8 MB, free: 40.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.2037, allocations: 0.7841 MB / 382.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.204, allocations: 201.5 kB / 382.8 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.2043, allocations: 272.2 kB / 383 MB, free: 39.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.2043, allocations: 24.03 kB / 383 MB, free: 39.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.2047, allocations: 205.1 kB / 383.2 MB, free: 39.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.2048, allocations: 99.53 kB / 383.3 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.205, allocations: 265.5 kB / 383.6 MB, free: 39.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.2055, allocations: 0.6283 MB / 384.2 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2055, allocations: 1.125 kB / 384.2 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2056, allocations: 0 / 384.2 MB, free: 38.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2056, allocations: 4 kB / 384.2 MB, free: 38.68 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.001959/0.2075, allocations: 0.9253 MB / 385.2 MB, free: 37.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2076, allocations: 9.312 kB / 385.2 MB, free: 37.95 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.2077, allocations: 122.9 kB / 385.3 MB, free: 37.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.2117, allocations: 0.6065 MB / 385.9 MB, free: 37.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.2122, allocations: 390.9 kB / 386.3 MB, free: 37.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.2123, allocations: 50 kB / 386.3 MB, free: 37.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2124, allocations: 71.44 kB / 386.4 MB, free: 37.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.2137, allocations: 0.8114 MB / 387.2 MB, free: 36.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.2138, allocations: 0 / 387.2 MB, free: 36.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.2138, allocations: 35.98 kB / 387.2 MB, free: 36.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.2139, allocations: 26 kB / 387.3 MB, free: 36.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.2151, allocations: 0.8472 MB / 388.1 MB, free: 35.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.2182, allocations: 2.747 MB / 390.9 MB, free: 32.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.2199, allocations: 1.962 MB / 392.8 MB, free: 30.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.2204, allocations: 250.1 kB / 393.1 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/0.2204, allocations: 93.83 kB / 393.2 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.2205, allocations: 43 kB / 393.2 MB, free: 30 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/0.2205, allocations: 0 / 393.2 MB, free: 30 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001941/0.2224, allocations: 0.8518 MB / 394.1 MB, free: 29.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.2225, allocations: 55.84 kB / 394.1 MB, free: 29.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.2228, allocations: 312.4 kB / 394.4 MB, free: 28.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.2228, allocations: 33.7 kB / 394.4 MB, free: 28.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.2229, allocations: 291.7 kB / 394.7 MB, free: 28.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.223, allocations: 157.7 kB / 394.9 MB, free: 28.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.2231, allocations: 16 kB / 394.9 MB, free: 28.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.2231, allocations: 350.8 kB / 395.2 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.2236, allocations: 201.2 kB / 395.4 MB, free: 27.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.2241, allocations: 398.3 kB / 395.8 MB, free: 27.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009332/0.225, allocations: 0.6272 MB / 396.5 MB, free: 26.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.225, allocations: 0 / 396.5 MB, free: 26.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00132/0.2264, allocations: 0.7045 MB / 397.2 MB, free: 25.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/0.2265, allocations: 271.4 kB / 397.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2265, allocations: 4 kB / 397.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.2267, allocations: 60.83 kB / 397.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.2272, allocations: 151.7 kB / 397.6 MB, free: 25.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.2282, allocations: 1.584 MB / 399.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.2286, allocations: 79.33 kB / 399.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.2286, allocations: 35.92 kB / 399.3 MB, free: 23.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-06/0.2286, allocations: 4 kB / 399.3 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009591/0.2296, allocations: 0.6447 MB / 400 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2296, allocations: 8 kB / 400 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.2298, allocations: 52.84 kB / 400 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.2302, allocations: 131.8 kB / 400.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000802/0.231, allocations: 1.519 MB / 401.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.2313, allocations: 59.44 kB / 401.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.2314, allocations: 36.05 kB / 401.8 MB, free: 20.8 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 (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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.2316, allocations: 260.9 kB / 402 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.2317, allocations: 35.53 kB / 402.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.2327, allocations: 0.6259 MB / 402.7 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2327, allocations: 8 kB / 402.7 MB, free: 19.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2327, allocations: 0 / 402.7 MB, free: 19.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2327, allocations: 3.984 kB / 402.7 MB, free: 19.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.2343, allocations: 1.308 MB / 404 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2343, allocations: 0 / 404 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.2347, allocations: 91.89 kB / 404.1 MB, free: 18.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.2348, allocations: 52.83 kB / 404.2 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.2349, allocations: 19.98 kB / 404.2 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008877/0.2358, allocations: 1.584 MB / 405.8 MB, free: 16.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2358, allocations: 0 / 405.8 MB, free: 16.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2371, allocations: 0.9286 MB / 406.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2372, allocations: 152.5 kB / 406.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.2372, allocations: 20 kB / 406.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.2375, allocations: 19.98 kB / 406.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/0.2376, allocations: 40.38 kB / 406.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.2377, allocations: 12 kB / 406.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.2378, allocations: 215.1 kB / 407.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2378, allocations: 0 / 407.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008311/0.2387, allocations: 279.1 kB / 407.4 MB, free: 14.91 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 (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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001531/0.2402, allocations: 1.509 MB / 408.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.2418, allocations: 1.131 MB / 410.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2418, allocations: 0 / 410.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.2423, allocations: 397.6 kB / 410.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.2427, allocations: 46.88 kB / 410.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.2465, allocations: 3.013 MB / 413.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2467, allocations: 0.8408 MB / 414.3 MB, free: 7.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.247, allocations: 195.3 kB / 414.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.247, allocations: 0 / 414.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.195/3.442, allocations: 9.783 MB / 424.3 MB, free: 13.78 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches