Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 216.5 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 55.91 kB / 378.6 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2737, allocations: 53.42 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006985/0.2806, allocations: 5.425 MB / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.2836, allocations: 1.535 MB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.284, allocations: 39.69 kB / 439 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.2845, allocations: 213.8 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.285, allocations: 194 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.2858, allocations: 431.1 kB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.287, allocations: 1.122 MB / 440.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005368/0.2875, allocations: 332.9 kB / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.288, allocations: 418.3 kB / 441.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.2885, allocations: 437.5 kB / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.2886, allocations: 88 kB / 442.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.2888, allocations: 104 kB / 442.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.289, allocations: 219 kB / 442.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.2894, allocations: 0.4893 MB / 443 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.2907, allocations: 1.194 MB / 444.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2907, allocations: 0 / 444.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2907, allocations: 0 / 444.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.2907, allocations: 0 / 444.2 MB, free: 10.43 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.001893/0.2926, allocations: 1.264 MB / 445.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2926, allocations: 12.03 kB / 445.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.708e-05/0.2927, allocations: 26 kB / 445.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.2928, allocations: 156.2 kB / 445.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.2932, allocations: 155.1 kB / 445.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.2942, allocations: 0.5898 MB / 446.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.2943, allocations: 70 kB / 446.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.2944, allocations: 104 kB / 446.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.296, allocations: 1.023 MB / 447.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.296, allocations: 4 kB / 447.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.2961, allocations: 51.94 kB / 447.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.2961, allocations: 28 kB / 447.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.2973, allocations: 0.5539 MB / 448.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.3028, allocations: 5.413 MB / 453.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.3034, allocations: 220.9 kB / 453.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.3038, allocations: 153.6 kB / 454 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.3039, allocations: 16.25 kB / 454 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.304, allocations: 42.5 kB / 454 MB, free: 56 kB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.304, allocations: 0 / 454 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00393/0.3079, allocations: 1.597 MB / 455.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.308, allocations: 81.11 kB / 455.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000728/0.3087, allocations: 0.6412 MB / 456.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.3087, allocations: 29.7 kB / 456.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.3092, allocations: 0.6161 MB / 457 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.3093, allocations: 154.8 kB / 457.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.3095, allocations: 138.5 kB / 457.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3097, allocations: 386.8 kB / 457.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.31, allocations: 157.8 kB / 457.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/0.3106, allocations: 0.4933 MB / 458.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009968/0.3116, allocations: 0.6888 MB / 459 MB, free: 10.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3116, allocations: 4 kB / 459 MB, free: 10.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001228/0.3128, allocations: 0.7259 MB / 459.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3128, allocations: 8 kB / 459.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.3129, allocations: 12 kB / 459.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/0.3129, allocations: 19.94 kB / 459.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.3135, allocations: 200.1 kB / 460 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/0.3136, allocations: 27.92 kB / 460 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.3139, allocations: 28 kB / 460 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.314, allocations: 43.98 kB / 460.1 MB, free: 9.586 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.0003269/0.3143, allocations: 229.5 kB / 460.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.3144, allocations: 79.48 kB / 460.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.3146, allocations: 74.67 kB / 460.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3146, allocations: 7.938 kB / 460.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3146, allocations: 4 kB / 460.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3146, allocations: 4 kB / 460.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.3169, allocations: 1.288 MB / 461.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3169, allocations: 0 / 461.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.3173, allocations: 103.9 kB / 461.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.3173, allocations: 7.938 kB / 461.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.3174, allocations: 8 kB / 461.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.3174, allocations: 4 kB / 461.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3174, allocations: 7.875 kB / 461.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3185, allocations: 0.7129 MB / 462.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3186, allocations: 71.47 kB / 462.7 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.3187, allocations: 11.94 kB / 462.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.319, allocations: 19.98 kB / 462.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.3191, allocations: 31.94 kB / 462.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.3191, allocations: 16 kB / 462.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000507/0.3196, allocations: 427 kB / 463.2 MB, free: 6.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3196, allocations: 0 / 463.2 MB, free: 6.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006334/0.3202, allocations: 139.9 kB / 463.3 MB, free: 6.262 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.00144/0.3217, allocations: 1.25 MB / 464.5 MB, free: 4.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008503/0.3225, allocations: 414 kB / 464.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3225, allocations: 4 kB / 465 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.3228, allocations: 141.1 kB / 465.1 MB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.3234, allocations: 83.3 kB / 465.2 MB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009417/0.3328, allocations: 6.157 MB / 471.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.3336, allocations: 1 MB / 472.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003236/0.3339, allocations: 98.05 kB / 472.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/0.3345, allocations: 391.3 kB / 472.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3345, allocations: 0 / 472.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.3763, allocations: 12.37 MB / 485.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 7.922 kB / 485.2 MB, free: 15.93 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.608275456994306]