Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",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.000791/0.000791, allocations: 96.86 kB / 17.3 MB, free: 6.344 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.0008469/0.000847, allocations: 177.1 kB / 18.21 MB, free: 5.531 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.233/1.233, 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.0004286/0.0004286, allocations: 8 kB / 281.5 MB, free: 3.309 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07815/0.07859, allocations: 47.57 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003613/0.08224, allocations: 3.359 MB / 332.4 MB, free: 288 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.0846, allocations: 1.442 MB / 333.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.08489, allocations: 8 kB / 333.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.08536, allocations: 171.2 kB / 334 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.08662, allocations: 0.5058 MB / 334.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.0874, allocations: 390.9 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000518/0.08793, allocations: 469.8 kB / 335.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.08918, allocations: 0.7194 MB / 336.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.08949, allocations: 195.1 kB / 336.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.08981, allocations: 242.9 kB / 336.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.964e-05/0.08988, allocations: 20 kB / 336.5 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.09028, allocations: 187.8 kB / 336.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.09035, allocations: 87.59 kB / 336.8 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.09055, allocations: 248.4 kB / 337.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.0912, allocations: 0.6619 MB / 337.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.09122, allocations: 0 / 337.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09123, allocations: 4 kB / 337.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.09124, allocations: 0 / 337.7 MB, free: 10.92 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001864/0.09311, allocations: 0.8311 MB / 338.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.09316, allocations: 20.02 kB / 338.6 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.09331, allocations: 108 kB / 338.7 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004195/0.09752, allocations: 0.5857 MB / 339.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.0979, allocations: 311.7 kB / 339.6 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.09795, allocations: 45.69 kB / 339.6 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/0.09805, allocations: 67.97 kB / 339.7 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.09902, allocations: 0.5609 MB / 340.2 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.09906, allocations: 8 kB / 340.2 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.09912, allocations: 23.98 kB / 340.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.09913, allocations: 12 kB / 340.3 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1002, allocations: 0.6493 MB / 340.9 MB, free: 7.609 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.103, allocations: 2.061 MB / 343 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.1054, allocations: 3.017 MB / 346 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.1058, allocations: 234 kB / 346.2 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-05/0.1059, allocations: 93.53 kB / 346.3 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1059, allocations: 42.88 kB / 346.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.495e-06/0.1059, allocations: 0 / 346.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001895/0.1078, allocations: 0.8051 MB / 347.2 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.1079, allocations: 59.84 kB / 347.2 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1081, allocations: 204.4 kB / 347.4 MB, free: 336 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.1081, allocations: 33.7 kB / 347.5 MB, free: 296 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1083, allocations: 240.1 kB / 347.7 MB, free: 52 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.1084, allocations: 169.7 kB / 347.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.1085, allocations: 57.62 kB / 347.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1086, allocations: 334.8 kB / 348.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.1089, allocations: 169 kB / 348.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.1093, allocations: 278 kB / 348.7 MB, free: 15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006896/0.11, allocations: 476.5 kB / 349.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.11, allocations: 0 / 349.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001051/0.1111, allocations: 0.5938 MB / 349.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1111, allocations: 4.406 kB / 349.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1111, allocations: 8 kB / 349.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.1115, allocations: 92.73 kB / 349.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.1119, allocations: 107.8 kB / 350 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.1139, allocations: 1.854 MB / 351.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.1142, allocations: 59.42 kB / 351.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.1143, allocations: 20 kB / 351.9 MB, free: 11.62 MB / 302.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 (58): * Single equations (assignments): 57 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.1145, allocations: 177.6 kB / 352.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.1146, allocations: 23.78 kB / 352.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.1156, allocations: 0.563 MB / 352.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1156, allocations: 11.92 kB / 352.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1157, allocations: 4 kB / 352.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1157, allocations: 0 / 352.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.1173, allocations: 1.161 MB / 353.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1173, allocations: 0 / 353.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.1176, allocations: 71.91 kB / 353.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.1179, allocations: 100.7 kB / 354 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.118, allocations: 4.188 kB / 354 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.1197, allocations: 1.858 MB / 355.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1198, allocations: 0 / 355.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.121, allocations: 0.8232 MB / 356.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.1211, allocations: 112.7 kB / 356.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.1212, allocations: 4 kB / 356.8 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.1214, allocations: 23.98 kB / 356.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.1215, allocations: 32.39 kB / 356.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.1215, allocations: 19.98 kB / 356.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1217, allocations: 144.2 kB / 357 MB, free: 6.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1217, allocations: 4.062 kB / 357 MB, free: 6.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006044/0.1223, allocations: 163.5 kB / 357.2 MB, free: 6.07 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 (44): * Single equations (assignments): 43 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/0.1239, allocations: 1.392 MB / 358.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.125, allocations: 0.5972 MB / 359.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.125, allocations: 4 kB / 359.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.1256, allocations: 393.8 kB / 359.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1259, allocations: 24 kB / 359.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.1306, allocations: 3.907 MB / 363.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1309, allocations: 0.825 MB / 364.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.1312, allocations: 51.27 kB / 364.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.1314, allocations: 151.4 kB / 364.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1314, allocations: 0 / 364.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.1498, allocations: 7.267 MB / 371.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.15, allocations: 252.3 kB / 372 MB, free: 6.977 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.003, allocations: 4 kB / 372 MB, free: 6.973 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches