Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001481/0.001481, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001649/0.001649, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.241, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004885/0.2459, allocations: 3.415 MB / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.2485, allocations: 1.386 MB / 435.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.2486, allocations: 12 kB / 435.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.2504, allocations: 0.6961 MB / 436.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008886/0.2513, allocations: 389.6 kB / 437 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2523, allocations: 0.5201 MB / 437.5 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.2528, allocations: 454 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005712/0.2534, allocations: 366 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.2537, allocations: 215.1 kB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.254, allocations: 263 kB / 438.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.2541, allocations: 44 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.2545, allocations: 207.8 kB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2546, allocations: 111.6 kB / 439.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.2548, allocations: 195 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007977/0.2555, allocations: 0.6888 MB / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2556, allocations: 0 / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2556, allocations: 0 / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.2556, allocations: 0 / 440 MB, free: 13.7 MB / 350.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.002073/0.2576, allocations: 0.8472 MB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2577, allocations: 8.031 kB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.2578, allocations: 99.97 kB / 440.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.2613, allocations: 464.2 kB / 441.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.2618, allocations: 257.8 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.2618, allocations: 45.69 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.2619, allocations: 56.33 kB / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.2629, allocations: 0.543 MB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.263, allocations: 0 / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.263, allocations: 24 kB / 442.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.263, allocations: 16 kB / 442.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.2641, allocations: 0.5595 MB / 442.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002831/0.2669, allocations: 1.597 MB / 444.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2685, allocations: 0.5667 MB / 445 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.2688, allocations: 182.1 kB / 445.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.681e-05/0.2689, allocations: 24.41 kB / 445.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.269, allocations: 38.94 kB / 445.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.269, allocations: 4 kB / 445.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001998/0.271, allocations: 0.7065 MB / 446 MB, free: 7.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.271, allocations: 63.78 kB / 446.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.2712, allocations: 190.2 kB / 446.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2712, allocations: 33.7 kB / 446.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.2714, allocations: 232.9 kB / 446.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.2715, allocations: 166.6 kB / 446.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.2717, allocations: 86.12 kB / 446.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2718, allocations: 334.8 kB / 447.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.2721, allocations: 152.9 kB / 447.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.2725, allocations: 228.2 kB / 447.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.2732, allocations: 403.4 kB / 447.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2732, allocations: 0 / 447.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001061/0.2743, allocations: 0.5358 MB / 448.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2743, allocations: 4 kB / 448.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2743, allocations: 4 kB / 448.4 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.2747, allocations: 84.8 kB / 448.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.2751, allocations: 99.83 kB / 448.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.2772, allocations: 1.918 MB / 450.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.2775, allocations: 43.67 kB / 450.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.2775, allocations: 35.86 kB / 450.6 MB, free: 2.711 MB / 350.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.0002403/0.2778, allocations: 165.7 kB / 450.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.2779, allocations: 23.86 kB / 450.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.279, allocations: 0.5433 MB / 451.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.279, allocations: 8 kB / 451.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.279, allocations: 0 / 451.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.279, allocations: 11.92 kB / 451.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.2808, allocations: 1.04 MB / 452.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2808, allocations: 0 / 452.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.2811, allocations: 71.91 kB / 452.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/0.2814, allocations: 88.8 kB / 452.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.2814, allocations: 12 kB / 452.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.2835, allocations: 1.922 MB / 454.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2835, allocations: 0 / 454.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.2852, allocations: 0.7932 MB / 455.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.2852, allocations: 39.7 kB / 455.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2853, allocations: 12.12 kB / 455.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.2855, allocations: 19.97 kB / 455.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2856, allocations: 36.38 kB / 455.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.2856, allocations: 20.17 kB / 455.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.2858, allocations: 132.2 kB / 455.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2858, allocations: 3.938 kB / 455.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006086/0.2864, allocations: 151.7 kB / 455.6 MB, free: 13.42 MB / 366.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.00181/0.2882, allocations: 1.38 MB / 457 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2893, allocations: 0.5388 MB / 457.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2893, allocations: 4.125 kB / 457.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006385/0.2899, allocations: 353 kB / 457.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2903, allocations: 30.66 kB / 457.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/0.2952, allocations: 3.404 MB / 461.3 MB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2955, allocations: 208.8 kB / 461.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.2956, allocations: 46.95 kB / 461.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.2959, allocations: 143.4 kB / 461.7 MB, free: 7.129 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2959, allocations: 0 / 461.7 MB, free: 7.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05699/0.3529, allocations: 8.6 MB / 470.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.56, allocations: 0 / 470.3 MB, free: 14.69 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.859614446002524]