Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 186.8 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 371.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2567, allocations: 52.19 MB / 423.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00491/0.2616, allocations: 3.378 MB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.2641, allocations: 1.328 MB / 428.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.2643, allocations: 12 kB / 428.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2661, allocations: 0.7062 MB / 428.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.2674, allocations: 0.5131 MB / 429.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008778/0.2683, allocations: 405.5 kB / 429.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.2688, allocations: 465.9 kB / 430.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005796/0.2694, allocations: 354.1 kB / 430.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.2697, allocations: 215.1 kB / 430.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.27, allocations: 263 kB / 431 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.27, allocations: 47.94 kB / 431 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.2704, allocations: 195.9 kB / 431.2 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.2705, allocations: 103.6 kB / 431.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.2708, allocations: 195 kB / 431.5 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008662/0.2716, allocations: 0.685 MB / 432.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2716, allocations: 0 / 432.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2716, allocations: 7.938 kB / 432.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.2716, allocations: 0 / 432.2 MB, free: 5.578 MB / 334.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.002094/0.2737, allocations: 0.8329 MB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2738, allocations: 8.031 kB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.233e-05/0.2738, allocations: 21.5 kB / 433 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.274, allocations: 103.9 kB / 433.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.2774, allocations: 0.4884 MB / 433.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.2779, allocations: 253.8 kB / 433.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/0.2779, allocations: 41.69 kB / 433.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.278, allocations: 56.12 kB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.279, allocations: 0.5431 MB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.279, allocations: 7.953 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.2791, allocations: 24 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2791, allocations: 12 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.2801, allocations: 0.579 MB / 435.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.2828, allocations: 1.589 MB / 436.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.2843, allocations: 0.5861 MB / 437.3 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.2847, allocations: 195.6 kB / 437.5 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.2847, allocations: 12.42 kB / 437.5 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.2848, allocations: 39 kB / 437.6 MB, free: 24 kB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.314e-06/0.2848, allocations: 0 / 437.6 MB, free: 24 kB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004479/0.2893, allocations: 1.816 MB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2893, allocations: 60.06 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.2895, allocations: 182.2 kB / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.2895, allocations: 37.7 kB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.2897, allocations: 225 kB / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.2899, allocations: 222 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.2901, allocations: 110.3 kB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2902, allocations: 342.7 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.2907, allocations: 229.2 kB / 440.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/0.2912, allocations: 302 kB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.2921, allocations: 0.5506 MB / 441.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2922, allocations: 0 / 441.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001578/0.2937, allocations: 0.7797 MB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2937, allocations: 4 kB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2938, allocations: 4 kB / 442.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006838/0.2944, allocations: 189.5 kB / 442.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.2949, allocations: 111.9 kB / 442.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.2991, allocations: 3.896 MB / 446.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.2994, allocations: 39.88 kB / 446.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.2995, allocations: 27.98 kB / 446.6 MB, free: 6.57 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 (59): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.2997, allocations: 177.7 kB / 446.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.2998, allocations: 31.81 kB / 446.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.3015, allocations: 0.8148 MB / 447.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3015, allocations: 4 kB / 447.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3016, allocations: 4 kB / 447.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3016, allocations: 3.984 kB / 447.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.3041, allocations: 1.439 MB / 449.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3041, allocations: 7.938 kB / 449.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.3045, allocations: 91.89 kB / 449.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/0.3051, allocations: 177.7 kB / 449.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.3051, allocations: 16 kB / 449.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003788/0.3089, allocations: 3.624 MB / 453 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.3089, allocations: 7.938 kB / 453 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.311, allocations: 1.153 MB / 454.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.3111, allocations: 27.84 kB / 454.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.3111, allocations: 27.94 kB / 454.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.3114, allocations: 27.97 kB / 454.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3116, allocations: 48.56 kB / 454.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.3116, allocations: 19.98 kB / 454.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3117, allocations: 136.2 kB / 454.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3117, allocations: 0 / 454.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006454/0.3124, allocations: 152 kB / 454.6 MB, free: 14.27 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (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.002552/0.3149, allocations: 1.739 MB / 456.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.3165, allocations: 0.8658 MB / 457.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3165, allocations: 4 kB / 457.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009769/0.3175, allocations: 0.5988 MB / 457.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3179, allocations: 31.91 kB / 457.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/0.3243, allocations: 4.197 MB / 462.1 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3245, allocations: 230.6 kB / 462.3 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.3248, allocations: 59.25 kB / 462.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.325, allocations: 159.4 kB / 462.5 MB, free: 6.152 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.325, allocations: 0 / 462.5 MB, free: 6.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.3642, allocations: 10.65 MB / 473.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.82, allocations: 3.938 kB / 473.1 MB, free: 11.69 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/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_4.0.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: 14.165037588914856]