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.001261/0.00126, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001126/0.001126, allocations: 192 kB / 18.51 MB, free: 4.508 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.325/1.325, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001311/0.001311, allocations: 47.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07399/0.07532, allocations: 46.62 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004585/0.07992, allocations: 3.734 MB / 331.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.08222, allocations: 1.469 MB / 332.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.08253, allocations: 8 kB / 332.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.08426, allocations: 0.7583 MB / 333.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.08544, allocations: 0.5675 MB / 333.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.08621, allocations: 426.5 kB / 334.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.08665, allocations: 478 kB / 334.8 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.08719, allocations: 398.1 kB / 335.2 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.08746, allocations: 227.1 kB / 335.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.08774, allocations: 274.9 kB / 335.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.0878, allocations: 51.92 kB / 335.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.08818, allocations: 215.8 kB / 335.9 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.08826, allocations: 111.6 kB / 336.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.08846, allocations: 246.7 kB / 336.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.0891, allocations: 0.6892 MB / 337 MB, free: 10.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.08911, allocations: 0 / 337 MB, free: 10.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.08912, allocations: 0 / 337 MB, free: 10.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.08913, allocations: 0 / 337 MB, free: 10.71 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.001921/0.09106, allocations: 0.9287 MB / 337.9 MB, free: 9.738 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.0911, allocations: 11.97 kB / 337.9 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.09124, allocations: 104 kB / 338 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/0.09533, allocations: 0.5895 MB / 338.6 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.09569, allocations: 319.6 kB / 338.9 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.09574, allocations: 41.69 kB / 339 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/0.09583, allocations: 64.12 kB / 339 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008919/0.09673, allocations: 0.557 MB / 339.6 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.09676, allocations: 0 / 339.6 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.09681, allocations: 20 kB / 339.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.09684, allocations: 16 kB / 339.6 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.09788, allocations: 0.6375 MB / 340.3 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.1007, allocations: 2.05 MB / 342.3 MB, free: 5.148 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.1031, allocations: 3.016 MB / 345.3 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.1034, allocations: 226.1 kB / 345.5 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.066e-05/0.1035, allocations: 89.53 kB / 345.6 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1035, allocations: 42.94 kB / 345.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 1.834e-06/0.1036, allocations: 0 / 345.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.00181/0.1054, allocations: 0.7971 MB / 346.5 MB, free: 368 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.1054, allocations: 55.84 kB / 346.5 MB, free: 300 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1056, allocations: 205 kB / 346.7 MB, free: 88 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1056, allocations: 37.7 kB / 346.8 MB, free: 44 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1058, allocations: 240 kB / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.1059, allocations: 165.6 kB / 347.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.106, allocations: 94.16 kB / 347.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1061, allocations: 334.8 kB / 347.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.1064, allocations: 161 kB / 347.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.1068, allocations: 277.9 kB / 348 MB, free: 14.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.1075, allocations: 460.5 kB / 348.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1075, allocations: 0 / 348.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001002/0.1085, allocations: 0.586 MB / 349 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1085, allocations: 8 kB / 349.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1085, allocations: 4 kB / 349.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/0.1089, allocations: 93.16 kB / 349.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.1093, allocations: 107.8 kB / 349.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.1111, allocations: 2.053 MB / 351.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.1114, allocations: 55.38 kB / 351.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.1115, allocations: 27.98 kB / 351.4 MB, free: 11.16 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.0001738/0.1117, allocations: 173.8 kB / 351.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.1117, allocations: 27.66 kB / 351.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.1128, allocations: 0.5511 MB / 352.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1128, allocations: 8 kB / 352.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1128, allocations: 0 / 352.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1128, allocations: 0 / 352.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.1143, allocations: 1.153 MB / 353.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1144, allocations: 0 / 353.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.1147, allocations: 79.91 kB / 353.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.1149, allocations: 84.8 kB / 353.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.115, allocations: 12 kB / 353.5 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.1168, allocations: 2.039 MB / 355.5 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1168, allocations: 4 kB / 355.5 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.1181, allocations: 0.8037 MB / 356.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.1181, allocations: 108.7 kB / 356.4 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.1182, allocations: 12 kB / 356.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.1184, allocations: 20.06 kB / 356.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.1185, allocations: 44.25 kB / 356.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.1185, allocations: 12 kB / 356.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1187, allocations: 151 kB / 356.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1187, allocations: 0 / 356.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000563/0.1192, allocations: 151.5 kB / 356.8 MB, free: 5.484 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.001631/0.1209, allocations: 1.384 MB / 358.2 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.122, allocations: 0.6204 MB / 358.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.122, allocations: 0 / 358.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.1226, allocations: 385.8 kB / 359.2 MB, free: 3.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.123, allocations: 36.08 kB / 359.2 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.1277, allocations: 3.612 MB / 362.8 MB, free: 15.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1281, allocations: 0.8172 MB / 363.6 MB, free: 14.4 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.1283, allocations: 51.27 kB / 363.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.1285, allocations: 147.4 kB / 363.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1285, allocations: 96 / 363.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.1571, allocations: 7.757 MB / 371.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.161/9.318, allocations: 15.94 kB / 371.6 MB, free: 6.371 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches