Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_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_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007477/0.0007477, allocations: 94.62 kB / 17.3 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008402/0.0008403, allocations: 180.2 kB / 18.21 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004338, allocations: 12 kB / 281.5 MB, free: 3.312 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08063/0.08108, allocations: 47.58 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.004099/0.08522, allocations: 3.683 MB / 332.7 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.08808, allocations: 1.617 MB / 334.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.08832, allocations: 12 kB / 334.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.08881, allocations: 171.2 kB / 334.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.08995, allocations: 0.533 MB / 335.1 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009763/0.09094, allocations: 0.5025 MB / 335.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.09154, allocations: 0.5485 MB / 336.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.0929, allocations: 0.8112 MB / 336.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.09319, allocations: 218.9 kB / 337.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.09349, allocations: 286.6 kB / 337.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.09355, allocations: 24 kB / 337.5 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.09394, allocations: 203.8 kB / 337.6 MB, free: 11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.09402, allocations: 103.5 kB / 337.8 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.09424, allocations: 284.1 kB / 338 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.09504, allocations: 0.8018 MB / 338.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.09505, allocations: 0 / 338.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09506, allocations: 0 / 338.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.09507, allocations: 0 / 338.8 MB, free: 9.812 MB / 286.1 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.002174/0.09726, allocations: 0.9252 MB / 339.8 MB, free: 8.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.0973, allocations: 12.03 kB / 339.8 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.09749, allocations: 116.6 kB / 339.9 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.1018, allocations: 0.6167 MB / 340.5 MB, free: 8.086 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.1024, allocations: 377.3 kB / 340.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.1024, allocations: 50.38 kB / 340.9 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.1025, allocations: 76.11 kB / 341 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.104, allocations: 0.8173 MB / 341.8 MB, free: 6.723 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.104, allocations: 3.906 kB / 341.8 MB, free: 6.719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.1041, allocations: 24 kB / 341.8 MB, free: 6.695 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.1041, allocations: 33.98 kB / 341.9 MB, free: 6.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1056, allocations: 0.8511 MB / 342.7 MB, free: 5.812 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.1094, allocations: 2.746 MB / 345.5 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.1114, allocations: 1.957 MB / 347.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.112, allocations: 262.1 kB / 347.7 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.041e-05/0.112, allocations: 93.83 kB / 347.8 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1121, allocations: 38.94 kB / 347.8 MB, free: 188 kB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.364e-06/0.1121, allocations: 0 / 347.8 MB, free: 188 kB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001879/0.114, allocations: 0.8519 MB / 348.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.114, allocations: 59.84 kB / 348.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.1144, allocations: 312.4 kB / 349 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.1144, allocations: 33.7 kB / 349.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1146, allocations: 291.7 kB / 349.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.1148, allocations: 169.5 kB / 349.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.1149, allocations: 53.69 kB / 349.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.115, allocations: 346.8 kB / 349.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.1155, allocations: 205.2 kB / 350.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.116, allocations: 398.3 kB / 350.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1171, allocations: 0.6272 MB / 351.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1171, allocations: 0 / 351.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001326/0.1184, allocations: 0.716 MB / 351.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.1187, allocations: 271.7 kB / 352.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1187, allocations: 4 kB / 352.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.1189, allocations: 56.83 kB / 352.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.1195, allocations: 151.7 kB / 352.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.1211, allocations: 1.592 MB / 353.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.1215, allocations: 83.14 kB / 354 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.1215, allocations: 28 kB / 354 MB, free: 9.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.49e-06/0.1215, allocations: 4 kB / 354 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00118/0.1227, allocations: 0.6444 MB / 354.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1227, allocations: 8 kB / 354.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.1229, allocations: 56.83 kB / 354.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.1234, allocations: 140.2 kB / 354.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1247, allocations: 1.511 MB / 356.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.125, allocations: 71.3 kB / 356.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.1251, allocations: 31.98 kB / 356.5 MB, free: 6.902 MB / 302.1 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.0002795/0.1254, allocations: 268.9 kB / 356.7 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.1254, allocations: 35.53 kB / 356.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.1267, allocations: 0.6259 MB / 357.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1267, allocations: 8 kB / 357.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1267, allocations: 0 / 357.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1268, allocations: 0 / 357.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.1288, allocations: 1.305 MB / 358.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1288, allocations: 0 / 358.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.1292, allocations: 99.88 kB / 358.8 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.1294, allocations: 52.83 kB / 358.8 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.1294, allocations: 15.98 kB / 358.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.1308, allocations: 1.584 MB / 360.4 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1308, allocations: 0 / 360.4 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.1324, allocations: 0.9365 MB / 361.4 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.1326, allocations: 152.6 kB / 361.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.1326, allocations: 15.94 kB / 361.5 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.1329, allocations: 19.98 kB / 361.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.133, allocations: 40.33 kB / 361.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.1331, allocations: 19.98 kB / 361.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.1333, allocations: 215.1 kB / 361.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1333, allocations: 0 / 361.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009727/0.1343, allocations: 279 kB / 362.1 MB, free: 0.9961 MB / 302.1 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.002036/0.1363, allocations: 1.513 MB / 363.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.1384, allocations: 1.128 MB / 364.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1384, allocations: 0 / 364.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.139, allocations: 397.1 kB / 365.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.1395, allocations: 48.59 kB / 365.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/0.1463, allocations: 4.964 MB / 370.2 MB, free: 8.641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.1467, allocations: 0.8447 MB / 371 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00142/0.1481, allocations: 1.091 MB / 372.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.1484, allocations: 191.3 kB / 372.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1484, allocations: 3.938 kB / 372.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/0.3062, allocations: 9.291 MB / 381.6 MB, free: 51.78 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.3064, allocations: 248 kB / 381.8 MB, free: 51.53 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.214, allocations: 0 / 381.8 MB, free: 51.53 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode.fmu > 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/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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches