Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001471/0.001471, allocations: 103.1 kB / 21.96 MB, free: 5.219 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.00145/0.00145, allocations: 214 kB / 25.26 MB, free: 3.129 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.353/1.353, allocations: 207.7 MB / 236.1 MB, free: 9.781 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.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="cs",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.00173/0.00173, allocations: 54.58 kB / 348 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2594, allocations: 49.15 MB / 397.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005124/0.2645, allocations: 4.698 MB / 401.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.2676, allocations: 1.44 MB / 403.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.2682, allocations: 32.09 kB / 403.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.2687, allocations: 219.2 kB / 403.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.2692, allocations: 197.9 kB / 403.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.27, allocations: 399.1 kB / 404.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.2711, allocations: 1.123 MB / 405.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.2716, allocations: 345.7 kB / 405.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.2722, allocations: 409.8 kB / 406 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.2726, allocations: 429 kB / 406.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.2727, allocations: 87.66 kB / 406.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.2729, allocations: 101.3 kB / 406.6 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.273, allocations: 213.7 kB / 406.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.2733, allocations: 400.6 kB / 407.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.2744, allocations: 1.196 MB / 408.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2744, allocations: 1.375 kB / 408.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2744, allocations: 0 / 408.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.2744, allocations: 0 / 408.4 MB, free: 2.012 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001565/0.2759, allocations: 1.269 MB / 409.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.276, allocations: 14.7 kB / 409.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.629e-05/0.276, allocations: 25.59 kB / 409.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.2761, allocations: 153.2 kB / 409.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.2763, allocations: 133.1 kB / 410 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.2772, allocations: 0.5742 MB / 410.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.2773, allocations: 73.88 kB / 410.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.2774, allocations: 97.61 kB / 410.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.2789, allocations: 1.079 MB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.2789, allocations: 7.844 kB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/0.279, allocations: 43.5 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.279, allocations: 26.69 kB / 411.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.2802, allocations: 0.5568 MB / 412.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006441/0.2866, allocations: 5.236 MB / 417.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.2873, allocations: 226.5 kB / 417.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.2876, allocations: 152.2 kB / 418 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.2877, allocations: 10.12 kB / 418 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.2877, allocations: 37.44 kB / 418.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.275e-06/0.2877, allocations: 0 / 418.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.003841/0.2916, allocations: 1.588 MB / 419.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.2916, allocations: 85.45 kB / 419.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.2923, allocations: 0.6319 MB / 420.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.2924, allocations: 34.73 kB / 420.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.2928, allocations: 0.6204 MB / 421 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.293, allocations: 157.8 kB / 421.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.2932, allocations: 135.4 kB / 421.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.2934, allocations: 387.1 kB / 421.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.2937, allocations: 153.7 kB / 421.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/0.2943, allocations: 499 kB / 422.3 MB, free: 7.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.2954, allocations: 0.7169 MB / 423.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.2954, allocations: 4.344 kB / 423.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001263/0.2966, allocations: 0.71 MB / 423.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.2967, allocations: 10.41 kB / 423.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.2967, allocations: 12.09 kB / 423.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/0.2967, allocations: 20.22 kB / 423.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.2973, allocations: 196.1 kB / 424 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.2974, allocations: 24.42 kB / 424 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.2977, allocations: 35.23 kB / 424.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.2978, allocations: 39.62 kB / 424.1 MB, free: 5.922 MB / 334.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.0003113/0.2981, allocations: 226.1 kB / 424.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.2982, allocations: 81.98 kB / 424.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.2983, allocations: 75.5 kB / 424.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.2983, allocations: 9.469 kB / 424.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2983, allocations: 4 kB / 424.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.2984, allocations: 4.984 kB / 424.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.3004, allocations: 1.224 MB / 425.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3004, allocations: 5.938 kB / 425.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.3009, allocations: 104.3 kB / 425.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3009, allocations: 6.438 kB / 425.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.3009, allocations: 17.05 kB / 425.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3009, allocations: 2.656 kB / 425.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3009, allocations: 2.469 kB / 425.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.302, allocations: 0.7089 MB / 426.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.3021, allocations: 67.05 kB / 426.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.3022, allocations: 16.81 kB / 426.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.3024, allocations: 21.02 kB / 426.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.3025, allocations: 26.95 kB / 426.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.3025, allocations: 17.23 kB / 426.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004649/0.303, allocations: 422.3 kB / 427.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.303, allocations: 4 kB / 427.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006336/0.3036, allocations: 141.8 kB / 427.3 MB, free: 3.844 MB / 334.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.001325/0.305, allocations: 1.252 MB / 428.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.3057, allocations: 426 kB / 428.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3057, allocations: 3.938 kB / 428.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.306, allocations: 139.8 kB / 429.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.3065, allocations: 71.81 kB / 429.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/0.3149, allocations: 6.15 MB / 435.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.3153, allocations: 413.3 kB / 435.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.3156, allocations: 90.02 kB / 435.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/0.3161, allocations: 395.3 kB / 436.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3161, allocations: 0 / 436.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/0.3559, allocations: 12.26 MB / 448.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.92, allocations: 4.062 kB / 448.4 MB, free: 14.11 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.179329017992131]