Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001512/0.001512, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001799/0.001799, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 59.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.335, allocations: 50.54 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005821/0.3409, allocations: 3.968 MB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.3442, allocations: 1.627 MB / 414.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.3447, allocations: 12 kB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.3469, allocations: 0.7809 MB / 415.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.3482, allocations: 378 kB / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.3497, allocations: 0.6769 MB / 416.3 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009044/0.3507, allocations: 0.5292 MB / 416.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009156/0.3516, allocations: 0.4912 MB / 417.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.3521, allocations: 235.1 kB / 417.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.3525, allocations: 298.8 kB / 417.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.12e-05/0.3526, allocations: 52 kB / 417.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006587/0.3532, allocations: 255.8 kB / 418.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3534, allocations: 119.6 kB / 418.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.3537, allocations: 266.7 kB / 418.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.355, allocations: 0.8134 MB / 419.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.355, allocations: 0 / 419.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.355, allocations: 0 / 419.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.355, allocations: 0 / 419.3 MB, free: 6.953 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.002478/0.3575, allocations: 0.9626 MB / 420.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3576, allocations: 8.031 kB / 420.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.3578, allocations: 115.9 kB / 420.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002832/0.3606, allocations: 400.2 kB / 420.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007962/0.3614, allocations: 368.6 kB / 421.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.3615, allocations: 49.44 kB / 421.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3616, allocations: 56 kB / 421.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.363, allocations: 0.6393 MB / 421.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.3631, allocations: 0 / 421.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.3631, allocations: 28 kB / 421.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.3632, allocations: 20 kB / 421.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.3644, allocations: 0.5751 MB / 422.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.3681, allocations: 2.26 MB / 424.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.3699, allocations: 1.177 MB / 425.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/0.3704, allocations: 196.8 kB / 426.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.3707, allocations: 174.5 kB / 426.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.3707, allocations: 38.5 kB / 426.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.165e-06/0.3707, allocations: 8 kB / 426.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001857/0.3726, allocations: 0.6864 MB / 427 MB, free: 14.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.3727, allocations: 59.41 kB / 427.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.3731, allocations: 266.6 kB / 427.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.3732, allocations: 33.7 kB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3734, allocations: 256.8 kB / 427.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.3736, allocations: 162.6 kB / 427.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.3737, allocations: 90.19 kB / 427.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3739, allocations: 338.8 kB / 428.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.3743, allocations: 155 kB / 428.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.3748, allocations: 253.9 kB / 428.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.3757, allocations: 445.6 kB / 429 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.3757, allocations: 4 kB / 429 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001158/0.3769, allocations: 0.5142 MB / 429.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3769, allocations: 8 kB / 429.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.3769, allocations: 8.391 kB / 429.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.3772, allocations: 64.7 kB / 429.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.3777, allocations: 95.89 kB / 429.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.3796, allocations: 1.771 MB / 431.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.38, allocations: 55.55 kB / 431.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.3801, allocations: 20 kB / 431.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005157/0.3806, allocations: 273.2 kB / 431.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004097/0.381, allocations: 249.6 kB / 432.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008083/0.3818, allocations: 427.6 kB / 432.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.3819, allocations: 0 / 432.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001126/0.383, allocations: 0.5205 MB / 433 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.383, allocations: 4.406 kB / 433 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.383, allocations: 8 kB / 433 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.3833, allocations: 56.83 kB / 433.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.3837, allocations: 95.88 kB / 433.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.3856, allocations: 1.759 MB / 434.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.386, allocations: 39.77 kB / 435 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.386, allocations: 24.06 kB / 435 MB, free: 6.184 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.0002724/0.3863, allocations: 212.1 kB / 435.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.3864, allocations: 31.75 kB / 435.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.3877, allocations: 0.5045 MB / 435.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3878, allocations: 7.938 kB / 435.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3878, allocations: 3.938 kB / 435.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.3878, allocations: 3.984 kB / 435.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.3899, allocations: 1.088 MB / 436.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3899, allocations: 0 / 436.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.3903, allocations: 75.89 kB / 436.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.3906, allocations: 56.81 kB / 437 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.3906, allocations: 8.125 kB / 437 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.3925, allocations: 1.771 MB / 438.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3925, allocations: 0 / 438.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.3941, allocations: 0.7503 MB / 439.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.3944, allocations: 152.7 kB / 439.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.3944, allocations: 7.984 kB / 439.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.3947, allocations: 20 kB / 439.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.3948, allocations: 28.45 kB / 439.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.3948, allocations: 19.98 kB / 439.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.3951, allocations: 190 kB / 439.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3951, allocations: 3.938 kB / 439.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009774/0.3961, allocations: 243.4 kB / 440.2 MB, free: 0.7773 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.002205/0.3983, allocations: 1.336 MB / 441.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002035/0.4004, allocations: 0.8784 MB / 442.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4004, allocations: 0 / 442.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006604/0.4011, allocations: 346.3 kB / 442.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.4016, allocations: 54.83 kB / 442.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.4079, allocations: 3.798 MB / 446.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.4084, allocations: 0.821 MB / 447.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003334/0.4088, allocations: 75.22 kB / 447.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.4091, allocations: 167.4 kB / 447.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4091, allocations: 0 / 447.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.4517, allocations: 8.687 MB / 456.3 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.99, allocations: 15 kB / 456.3 MB, free: 0.5039 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches