Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 63.77 kB / 307.1 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09149, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005327/0.09685, allocations: 3.69 MB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.09951, allocations: 1.487 MB / 362.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.09986, allocations: 12 kB / 362.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.1019, allocations: 0.7468 MB / 363.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.103, allocations: 385.1 kB / 363.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1042, allocations: 0.5522 MB / 364.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.1048, allocations: 458 kB / 364.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007263/0.1056, allocations: 394.1 kB / 365.3 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.106, allocations: 207.2 kB / 365.5 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.1064, allocations: 274.9 kB / 365.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.1065, allocations: 40 kB / 365.8 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.107, allocations: 211.9 kB / 366 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1071, allocations: 107.6 kB / 366.1 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.1074, allocations: 230.9 kB / 366.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009022/0.1083, allocations: 0.6775 MB / 367 MB, free: 4.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1083, allocations: 0 / 367 MB, free: 4.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1083, allocations: 0 / 367 MB, free: 4.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.1083, allocations: 0 / 367 MB, free: 4.566 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002366/0.1107, allocations: 0.9092 MB / 367.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1108, allocations: 8.031 kB / 367.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.1109, allocations: 100 kB / 368 MB, free: 3.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/0.1144, allocations: 495.9 kB / 368.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.1149, allocations: 315.5 kB / 368.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.1149, allocations: 37.69 kB / 368.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/0.115, allocations: 56.38 kB / 368.9 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/0.116, allocations: 0.5179 MB / 369.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.116, allocations: 0 / 369.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.1161, allocations: 20 kB / 369.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1161, allocations: 16 kB / 369.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.1172, allocations: 0.5634 MB / 370 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1608/0.278, allocations: 1.964 MB / 372 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.2798, allocations: 2.178 MB / 374.2 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.2802, allocations: 216.6 kB / 374.4 MB, free: 17.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.2803, allocations: 172.2 kB / 374.6 MB, free: 16.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2803, allocations: 41.89 kB / 374.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.236e-06/0.2803, allocations: 0 / 374.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002242/0.2826, allocations: 0.788 MB / 375.4 MB, free: 16.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2826, allocations: 63.84 kB / 375.4 MB, free: 16.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.2828, allocations: 182.2 kB / 375.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.2829, allocations: 33.89 kB / 375.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.283, allocations: 225.3 kB / 375.9 MB, free: 16.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.201e-05/0.2831, allocations: 162.6 kB / 376 MB, free: 16.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.2832, allocations: 84.7 kB / 376.1 MB, free: 16.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.2833, allocations: 331.3 kB / 376.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.2836, allocations: 156.3 kB / 376.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.2839, allocations: 224.1 kB / 376.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.2845, allocations: 401.8 kB / 377.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2846, allocations: 5.359 kB / 377.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009513/0.2855, allocations: 0.5296 MB / 377.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2855, allocations: 9.234 kB / 377.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2856, allocations: 6.688 kB / 377.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.2859, allocations: 89.16 kB / 377.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.2863, allocations: 94.31 kB / 377.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.2879, allocations: 2.041 MB / 380 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.2882, allocations: 46.67 kB / 380 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.2882, allocations: 18.86 kB / 380 MB, free: 13.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0001445/0.2884, allocations: 169.6 kB / 380.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.2885, allocations: 31.84 kB / 380.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.2895, allocations: 0.5466 MB / 380.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2895, allocations: 6.312 kB / 380.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2896, allocations: 2.156 kB / 380.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2896, allocations: 2.484 kB / 380.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.2911, allocations: 1.128 MB / 381.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2911, allocations: 2.172 kB / 381.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.2914, allocations: 74.83 kB / 382 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.2917, allocations: 88.64 kB / 382.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.2917, allocations: 11.5 kB / 382.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.2933, allocations: 2.046 MB / 384.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2933, allocations: 1.219 kB / 384.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.2945, allocations: 0.7943 MB / 384.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.2946, allocations: 105.8 kB / 385 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.2946, allocations: 11.75 kB / 385.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.2948, allocations: 14.75 kB / 385.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.295, allocations: 41.44 kB / 385.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.295, allocations: 17.89 kB / 385.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.45e-05/0.2951, allocations: 135.3 kB / 385.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2951, allocations: 3.719 kB / 385.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.2957, allocations: 151.1 kB / 385.4 MB, free: 9.832 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 (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 {(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.001559/0.2972, allocations: 1.371 MB / 386.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.2984, allocations: 0.5863 MB / 387.4 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2984, allocations: 0 / 387.4 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.2989, allocations: 381.6 kB / 387.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.2993, allocations: 34.56 kB / 387.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.3035, allocations: 3.391 MB / 391.2 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3038, allocations: 0.8144 MB / 392 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.304, allocations: 47.17 kB / 392 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.3042, allocations: 133.6 kB / 392.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3042, allocations: 0 / 392.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.3307, allocations: 7.533 MB / 399.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.016/9.347, allocations: 9.359 kB / 399.7 MB, free: 2.91 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches