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.001092/0.001092, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001132/0.001132, allocations: 192 kB / 18.51 MB, free: 4.641 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.282/1.282, 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.00111/0.00111, allocations: 59.92 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08238/0.0835, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004548/0.08809, allocations: 3.742 MB / 331.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.09028, allocations: 1.461 MB / 332.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.09044, allocations: 8 kB / 332.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.09208, allocations: 0.7662 MB / 333.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.09321, allocations: 0.5597 MB / 333.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.09398, allocations: 422.5 kB / 334.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000464/0.09446, allocations: 485.9 kB / 334.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/0.09504, allocations: 390.1 kB / 335.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.09534, allocations: 219.1 kB / 335.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.09565, allocations: 286.9 kB / 335.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.09572, allocations: 47.94 kB / 335.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.0961, allocations: 207.8 kB / 335.9 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.09619, allocations: 107.6 kB / 336 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.09641, allocations: 254.7 kB / 336.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.09712, allocations: 0.6892 MB / 337 MB, free: 10.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09714, allocations: 0 / 337 MB, free: 10.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09715, allocations: 0 / 337 MB, free: 10.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.09716, allocations: 0 / 337 MB, free: 10.73 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.002031/0.0992, allocations: 0.9286 MB / 337.9 MB, free: 9.754 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.09925, allocations: 12.03 kB / 337.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.0994, allocations: 100 kB / 338 MB, free: 9.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/0.1037, allocations: 0.5934 MB / 338.6 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.1041, allocations: 315.6 kB / 338.9 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.1041, allocations: 49.67 kB / 339 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.196e-05/0.1042, allocations: 60.12 kB / 339 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009381/0.1052, allocations: 0.5531 MB / 339.6 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1052, allocations: 3.984 kB / 339.6 MB, free: 8.023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.1053, allocations: 24 kB / 339.6 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1053, allocations: 16 kB / 339.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1064, allocations: 0.6454 MB / 340.3 MB, free: 7.336 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.1094, allocations: 2.046 MB / 342.3 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.112, allocations: 3.016 MB / 345.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.1124, allocations: 230.1 kB / 345.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.759e-05/0.1124, allocations: 85.55 kB / 345.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1125, allocations: 42.94 kB / 345.7 MB, free: 1.195 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.033e-06/0.1125, allocations: 0 / 345.7 MB, free: 1.195 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001885/0.1144, allocations: 0.801 MB / 346.5 MB, free: 372 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1144, allocations: 55.84 kB / 346.5 MB, free: 304 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1146, allocations: 201 kB / 346.7 MB, free: 96 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1147, allocations: 33.7 kB / 346.8 MB, free: 56 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1148, allocations: 248 kB / 347 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.1149, allocations: 161.6 kB / 347.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.1151, allocations: 94.16 kB / 347.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1152, allocations: 338.8 kB / 347.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.1155, allocations: 161 kB / 347.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.1159, allocations: 273.9 kB / 348 MB, free: 14.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.1166, allocations: 464.5 kB / 348.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1166, allocations: 4 kB / 348.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001072/0.1177, allocations: 0.5864 MB / 349.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1177, allocations: 8 kB / 349.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1178, allocations: 7.938 kB / 349.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003502/0.1181, allocations: 84.81 kB / 349.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.1185, allocations: 111.8 kB / 349.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.1205, allocations: 2.037 MB / 351.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.1208, allocations: 63.44 kB / 351.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.1209, allocations: 20 kB / 351.4 MB, free: 11.18 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.0002035/0.1211, allocations: 173.7 kB / 351.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.1212, allocations: 27.66 kB / 351.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.1222, allocations: 0.555 MB / 352.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.1223, allocations: 7.984 kB / 352.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1223, allocations: 12 kB / 352.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1223, allocations: 0 / 352.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.124, allocations: 1.145 MB / 353.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.124, allocations: 4 kB / 353.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.1243, allocations: 71.91 kB / 353.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002605/0.1246, allocations: 96.78 kB / 353.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.1246, allocations: 8 kB / 353.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.1266, allocations: 2.035 MB / 355.5 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1266, allocations: 3.984 kB / 355.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.1279, allocations: 0.8037 MB / 356.3 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.128, allocations: 112.7 kB / 356.4 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.128, allocations: 8.188 kB / 356.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.1283, allocations: 12 kB / 356.4 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1284, allocations: 52.19 kB / 356.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.1285, allocations: 12 kB / 356.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1286, allocations: 151 kB / 356.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1287, allocations: 0 / 356.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006309/0.1293, allocations: 155.6 kB / 356.8 MB, free: 5.488 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.001619/0.1309, allocations: 1.376 MB / 358.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.1321, allocations: 0.6205 MB / 358.8 MB, free: 3.449 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1321, allocations: 0 / 358.8 MB, free: 3.449 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.1326, allocations: 385.8 kB / 359.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.133, allocations: 43.88 kB / 359.2 MB, free: 3.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.1377, allocations: 3.605 MB / 362.8 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.138, allocations: 0.8211 MB / 363.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.1382, allocations: 47.27 kB / 363.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.1384, allocations: 155.4 kB / 363.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1384, allocations: 0 / 363.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03408/0.1725, allocations: 7.745 MB / 371.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.92, allocations: 11.88 kB / 371.6 MB, free: 6.391 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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