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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 47.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2842, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004601/0.2888, allocations: 3.789 MB / 400.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.2914, allocations: 1.482 MB / 401.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.2916, allocations: 9.25 kB / 401.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.2933, allocations: 0.7629 MB / 402.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009434/0.2943, allocations: 411.3 kB / 402.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009873/0.2952, allocations: 0.5557 MB / 403.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.2958, allocations: 492.3 kB / 403.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.2963, allocations: 371.2 kB / 404.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.2966, allocations: 227.1 kB / 404.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.2969, allocations: 282.4 kB / 404.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.997e-05/0.297, allocations: 47.62 kB / 404.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.2974, allocations: 205.3 kB / 404.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.2975, allocations: 113.2 kB / 405 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.2977, allocations: 246.6 kB / 405.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008326/0.2985, allocations: 0.705 MB / 406 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2985, allocations: 0.75 kB / 406 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2985, allocations: 4 kB / 406 MB, free: 2.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.2986, allocations: 1.188 kB / 406 MB, free: 2.918 MB / 318.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.001977/0.3005, allocations: 0.8657 MB / 406.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3006, allocations: 13.58 kB / 406.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.3007, allocations: 106.3 kB / 407 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.3047, allocations: 0.5878 MB / 407.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.3053, allocations: 258.9 kB / 407.8 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.3053, allocations: 41.06 kB / 407.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.3054, allocations: 74.45 kB / 407.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009883/0.3064, allocations: 0.5546 MB / 408.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.3064, allocations: 6.062 kB / 408.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.3065, allocations: 29.34 kB / 408.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.3065, allocations: 12.81 kB / 408.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.3076, allocations: 0.6349 MB / 409.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.3106, allocations: 1.809 MB / 411 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.3122, allocations: 0.639 MB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.3125, allocations: 194.5 kB / 411.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/0.3126, allocations: 8.625 kB / 411.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.3126, allocations: 49.81 kB / 411.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/0.3126, allocations: 0 / 411.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001963/0.3146, allocations: 0.7178 MB / 412.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.3146, allocations: 56.69 kB / 412.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.3149, allocations: 204.8 kB / 412.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.3149, allocations: 31.17 kB / 412.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3151, allocations: 251.2 kB / 413.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.3153, allocations: 178.6 kB / 413.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.3154, allocations: 100 kB / 413.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3156, allocations: 336.8 kB / 413.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.3159, allocations: 160.2 kB / 413.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.3163, allocations: 274.9 kB / 414.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007728/0.3171, allocations: 458.3 kB / 414.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.3171, allocations: 1.281 kB / 414.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001194/0.3183, allocations: 0.5847 MB / 415.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3183, allocations: 5.812 kB / 415.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3184, allocations: 3.875 kB / 415.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003898/0.3187, allocations: 92.7 kB / 415.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.3192, allocations: 105.7 kB / 415.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.3217, allocations: 1.957 MB / 417.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.3221, allocations: 56.62 kB / 417.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.3221, allocations: 28.34 kB / 417.4 MB, free: 11.57 MB / 334.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.0003486/0.3225, allocations: 166.5 kB / 417.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/0.3225, allocations: 29.8 kB / 417.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.3239, allocations: 0.5491 MB / 418.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3239, allocations: 6.062 kB / 418.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3239, allocations: 5.25 kB / 418.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3239, allocations: 3.984 kB / 418.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.326, allocations: 1.106 MB / 419.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.326, allocations: 0 / 419.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.3264, allocations: 84.2 kB / 419.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/0.3267, allocations: 85.44 kB / 419.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.3267, allocations: 15.08 kB / 419.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.3289, allocations: 1.935 MB / 421.4 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3289, allocations: 0 / 421.4 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.3303, allocations: 0.8001 MB / 422.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.3304, allocations: 38.58 kB / 422.2 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.3304, allocations: 9.344 kB / 422.2 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.3306, allocations: 21.89 kB / 422.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.3307, allocations: 36.75 kB / 422.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.3308, allocations: 18.02 kB / 422.3 MB, free: 7.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3309, allocations: 146.6 kB / 422.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3309, allocations: 0 / 422.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007122/0.3316, allocations: 160.8 kB / 422.6 MB, free: 7.73 MB / 334.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.001854/0.3335, allocations: 1.367 MB / 424 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.3346, allocations: 0.5665 MB / 424.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3346, allocations: 0.8125 kB / 424.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.3352, allocations: 368.9 kB / 424.9 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3356, allocations: 32.62 kB / 424.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/0.3409, allocations: 3.628 MB / 428.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.3414, allocations: 0.8211 MB / 429.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.3416, allocations: 51.27 kB / 429.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.3419, allocations: 143.4 kB / 429.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3419, allocations: 0 / 429.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.3857, allocations: 8.364 MB / 437.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12, allocations: 0.9375 kB / 437.9 MB, free: 8.793 MB / 350.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable inductor.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.345153982001648]