Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001331/0.001331, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001723/0.001723, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 47.92 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2908, allocations: 53.37 MB / 431.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006972/0.2978, allocations: 5.435 MB / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.301, allocations: 1.523 MB / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007525/0.3017, allocations: 35.69 kB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.3024, allocations: 221.8 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.3031, allocations: 202 kB / 438.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008841/0.304, allocations: 431.1 kB / 439 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3053, allocations: 1.123 MB / 440.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.3058, allocations: 334.6 kB / 440.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005401/0.3064, allocations: 414.3 kB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.3069, allocations: 437.5 kB / 441.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.307, allocations: 84 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.3072, allocations: 104 kB / 441.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.3074, allocations: 219 kB / 441.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.3078, allocations: 0.4932 MB / 442.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.309, allocations: 1.186 MB / 443.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.309, allocations: 0 / 443.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.309, allocations: 11.94 kB / 443.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.309, allocations: 0 / 443.4 MB, free: 10.56 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001855/0.3109, allocations: 1.264 MB / 444.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3109, allocations: 16.03 kB / 444.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.3111, allocations: 156.2 kB / 444.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.3114, allocations: 151.1 kB / 444.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3125, allocations: 0.5782 MB / 445.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.3126, allocations: 77.94 kB / 445.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.3127, allocations: 96 kB / 445.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.3143, allocations: 1.035 MB / 446.7 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.3143, allocations: 7.953 kB / 446.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.3144, allocations: 47.94 kB / 446.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.3144, allocations: 24 kB / 446.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.3156, allocations: 0.5578 MB / 447.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004958/0.3205, allocations: 5.409 MB / 452.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.3211, allocations: 232.9 kB / 453 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.3214, allocations: 141.7 kB / 453.1 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.635e-05/0.3215, allocations: 16.27 kB / 453.1 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.3215, allocations: 34.5 kB / 453.2 MB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.3215, allocations: 0 / 453.2 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003905/0.3254, allocations: 1.585 MB / 454.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3255, allocations: 85.05 kB / 454.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/0.3262, allocations: 0.6451 MB / 455.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3263, allocations: 33.7 kB / 455.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.3267, allocations: 0.6161 MB / 456.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.3268, allocations: 162.7 kB / 456.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.327, allocations: 134.6 kB / 456.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.3272, allocations: 382.8 kB / 456.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.3275, allocations: 157.8 kB / 457 MB, free: 12.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.3281, allocations: 0.4894 MB / 457.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.3291, allocations: 0.7026 MB / 458.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.3291, allocations: 4 kB / 458.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001216/0.3303, allocations: 0.7116 MB / 458.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3303, allocations: 12 kB / 458.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.3303, allocations: 15.98 kB / 458.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.3304, allocations: 16 kB / 458.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.331, allocations: 200.2 kB / 459.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.368e-05/0.3311, allocations: 23.92 kB / 459.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.3314, allocations: 35.98 kB / 459.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.3315, allocations: 40 kB / 459.2 MB, free: 9.746 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003124/0.3318, allocations: 225.5 kB / 459.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.3319, allocations: 87.42 kB / 459.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.332, allocations: 74.67 kB / 459.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.332, allocations: 11.94 kB / 459.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.332, allocations: 0 / 459.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.332, allocations: 4 kB / 459.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.3342, allocations: 1.288 MB / 460.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3342, allocations: 4 kB / 460.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.3346, allocations: 103.9 kB / 461 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.3346, allocations: 7.938 kB / 461 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.3347, allocations: 8.156 kB / 461 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.3347, allocations: 11.98 kB / 461 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3347, allocations: 3.938 kB / 461 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.3357, allocations: 0.7013 MB / 461.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3358, allocations: 63.48 kB / 461.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.3359, allocations: 15.94 kB / 461.8 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.3362, allocations: 28.02 kB / 461.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.3363, allocations: 27.95 kB / 461.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3363, allocations: 16 kB / 461.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000492/0.3368, allocations: 423 kB / 462.3 MB, free: 6.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3368, allocations: 0 / 462.3 MB, free: 6.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006597/0.3374, allocations: 140 kB / 462.4 MB, free: 6.426 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/0.3389, allocations: 1.261 MB / 463.7 MB, free: 5.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00081/0.3397, allocations: 416.1 kB / 464.1 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.3397, allocations: 5.812 kB / 464.1 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.34, allocations: 140.1 kB / 464.2 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.3405, allocations: 79.42 kB / 464.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/0.349, allocations: 6.154 MB / 470.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/0.3497, allocations: 1.004 MB / 471.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.35, allocations: 90.06 kB / 471.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004773/0.3505, allocations: 399.2 kB / 471.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3505, allocations: 0 / 471.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/0.4146, allocations: 12.35 MB / 484.3 MB, free: 168 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.23, allocations: 4.062 kB / 484.3 MB, free: 164 kB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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: 15.236447187839076]