Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_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.001374/0.001374, allocations: 105.5 kB / 17.06 MB, free: 6.016 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.001464/0.001464, allocations: 192 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 52.06 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2744, allocations: 49.45 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005741/0.2802, allocations: 3.946 MB / 404.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.2833, allocations: 1.569 MB / 405.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.2835, allocations: 15.94 kB / 405.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.2856, allocations: 0.77 MB / 406.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.2867, allocations: 0.5231 MB / 407.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2879, allocations: 0.5428 MB / 407.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007281/0.2886, allocations: 0.5292 MB / 408.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007971/0.2894, allocations: 0.4951 MB / 408.6 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.2898, allocations: 235.1 kB / 408.9 MB, free: 184 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.2902, allocations: 294.9 kB / 409.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.2902, allocations: 52 kB / 409.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.2907, allocations: 247.7 kB / 409.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.2908, allocations: 127.5 kB / 409.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.2911, allocations: 262.7 kB / 409.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.2921, allocations: 0.8017 MB / 410.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2921, allocations: 0 / 410.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2921, allocations: 3.938 kB / 410.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2922, allocations: 0 / 410.6 MB, free: 14.41 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002368/0.2945, allocations: 0.9665 MB / 411.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2946, allocations: 8.031 kB / 411.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.2948, allocations: 112 kB / 411.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/0.2975, allocations: 408.2 kB / 412.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007636/0.2983, allocations: 358.7 kB / 412.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/0.2984, allocations: 49.44 kB / 412.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2985, allocations: 67.94 kB / 412.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.2999, allocations: 0.6276 MB / 413.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.2999, allocations: 4 kB / 413.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.3, allocations: 28 kB / 413.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.3, allocations: 12 kB / 413.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3013, allocations: 0.579 MB / 413.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/0.3051, allocations: 2.181 MB / 416 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.3068, allocations: 1.187 MB / 417.2 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/0.3072, allocations: 188.8 kB / 417.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.3074, allocations: 89.09 kB / 417.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.3074, allocations: 46.5 kB / 417.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.3074, allocations: 0 / 417.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001783/0.3092, allocations: 0.6828 MB / 418.2 MB, free: 6.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3093, allocations: 55.41 kB / 418.2 MB, free: 6.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.3096, allocations: 270.6 kB / 418.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.3096, allocations: 37.7 kB / 418.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.3098, allocations: 260.8 kB / 418.8 MB, free: 5.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.31, allocations: 158.6 kB / 419 MB, free: 5.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3101, allocations: 82.25 kB / 419 MB, free: 5.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3103, allocations: 342.8 kB / 419.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.3107, allocations: 159 kB / 419.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.3111, allocations: 249.9 kB / 419.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.312, allocations: 433.7 kB / 420.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.312, allocations: 0 / 420.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001111/0.3131, allocations: 0.5337 MB / 420.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3131, allocations: 8.031 kB / 420.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3131, allocations: 4 kB / 420.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/0.3134, allocations: 64.75 kB / 420.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.3139, allocations: 103.8 kB / 420.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.3157, allocations: 1.767 MB / 422.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.3161, allocations: 63.67 kB / 422.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.3161, allocations: 16 kB / 422.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005024/0.3166, allocations: 269.2 kB / 423 MB, free: 1.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004119/0.3171, allocations: 249.6 kB / 423.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007609/0.3178, allocations: 419.9 kB / 423.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/0.3179, allocations: 7.938 kB / 423.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001043/0.3189, allocations: 0.5169 MB / 424.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3189, allocations: 4 kB / 424.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.3189, allocations: 4 kB / 424.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001814/0.3191, allocations: 52.83 kB / 424.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.3195, allocations: 95.83 kB / 424.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.3212, allocations: 1.767 MB / 426.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.3216, allocations: 43.78 kB / 426.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.3216, allocations: 20 kB / 426.2 MB, free: 13.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * 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.0002106/0.3218, allocations: 208.1 kB / 426.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.3219, allocations: 35.75 kB / 426.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.3231, allocations: 0.5045 MB / 426.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3231, allocations: 8 kB / 426.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3231, allocations: 3.938 kB / 426.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3231, allocations: 4 kB / 426.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.3249, allocations: 1.077 MB / 428 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.325, allocations: 3.938 kB / 428 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.3253, allocations: 83.83 kB / 428.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/0.3255, allocations: 52.83 kB / 428.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.3256, allocations: 15.98 kB / 428.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.3272, allocations: 1.755 MB / 429.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3272, allocations: 0 / 429.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.3287, allocations: 0.7542 MB / 430.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.3288, allocations: 152.7 kB / 430.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.3289, allocations: 4 kB / 430.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.3292, allocations: 23.98 kB / 430.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.3293, allocations: 32.45 kB / 430.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.3293, allocations: 16 kB / 430.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.3296, allocations: 194 kB / 431.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3296, allocations: 0 / 431.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009156/0.3305, allocations: 239.4 kB / 431.3 MB, free: 8.441 MB / 350.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 (42): * Single equations (assignments): 41 * 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.002134/0.3326, allocations: 1.325 MB / 432.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.3345, allocations: 0.8834 MB / 433.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3346, allocations: 5.312 kB / 433.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.3351, allocations: 349 kB / 433.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.3356, allocations: 44.48 kB / 433.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006245/0.3419, allocations: 3.799 MB / 437.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.3425, allocations: 0.8288 MB / 438.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.3428, allocations: 71.25 kB / 438.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.3431, allocations: 163.4 kB / 438.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3431, allocations: 0 / 438.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.3831, allocations: 8.738 MB / 447.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.77, allocations: 0.625 kB / 447.5 MB, free: 8.148 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches