Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.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.001752/0.001752, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002178/0.002178, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.414/1.414, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",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.001743/0.001743, allocations: 55.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2421, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006228/0.2483, allocations: 7.386 MB / 403.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.2603, allocations: 10.44 MB / 414.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.2617, allocations: 124 kB / 414.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.2638, allocations: 0.6909 MB / 415 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004419/0.2682, allocations: 1.179 MB / 416.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.2708, allocations: 0.6761 MB / 416.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00483/0.2756, allocations: 2.508 MB / 419.3 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.276, allocations: 179.8 kB / 419.5 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000837/0.2769, allocations: 488.9 kB / 420 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.2776, allocations: 0.5323 MB / 420.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/0.2777, allocations: 59.75 kB / 420.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.2796, allocations: 0.6998 MB / 421.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.2798, allocations: 185.7 kB / 421.5 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000807/0.2806, allocations: 0.6705 MB / 422.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.2837, allocations: 1.955 MB / 424.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2837, allocations: 0 / 424.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2837, allocations: 0 / 424.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.48e-05/0.2838, allocations: 1.375 kB / 424.1 MB, free: 6.062 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003528/0.2873, allocations: 1.963 MB / 426.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.2873, allocations: 13.52 kB / 426.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.2875, allocations: 91.08 kB / 426.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.2878, allocations: 206.6 kB / 426.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.29, allocations: 1.243 MB / 427.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.2901, allocations: 30.75 kB / 427.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-05/0.2901, allocations: 52.05 kB / 427.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.2911, allocations: 0.5112 MB / 428.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2911, allocations: 0 / 428.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/0.2912, allocations: 20.06 kB / 428.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.2912, allocations: 19.95 kB / 428.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009596/0.2922, allocations: 480.9 kB / 428.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/0.2958, allocations: 2.046 MB / 430.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.2967, allocations: 0.5114 MB / 431.3 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007446/0.2974, allocations: 461.5 kB / 431.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006754/0.3042, allocations: 2.58 MB / 434.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000581/0.3048, allocations: 294.1 kB / 434.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 2.425e-06/0.3048, allocations: 0 / 434.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.004126/0.3089, allocations: 1.904 MB / 436.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.309, allocations: 59.84 kB / 436.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.3106, allocations: 1.3 MB / 437.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.3107, allocations: 33.7 kB / 437.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006674/0.3113, allocations: 0.7234 MB / 438.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.3115, allocations: 210.2 kB / 438.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.3117, allocations: 122.3 kB / 438.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3119, allocations: 334 kB / 439.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.3123, allocations: 197.6 kB / 439.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.3129, allocations: 363.8 kB / 439.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.3153, allocations: 1.132 MB / 440.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3153, allocations: 3.938 kB / 440.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001785/0.3171, allocations: 0.9246 MB / 441.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3171, allocations: 8 kB / 441.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.136e-05/0.3172, allocations: 52 kB / 441.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.3176, allocations: 157.4 kB / 442.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.3181, allocations: 111.8 kB / 442.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.3212, allocations: 2.418 MB / 444.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.3219, allocations: 24.12 kB / 444.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.322, allocations: 36 kB / 444.7 MB, free: 2.328 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000544/0.3225, allocations: 289.5 kB / 444.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.3228, allocations: 190.8 kB / 445.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.3246, allocations: 0.8775 MB / 446 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.3246, allocations: 8 kB / 446 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3246, allocations: 4 kB / 446 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3246, allocations: 7.922 kB / 446 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.3258, allocations: 0.8504 MB / 446.9 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.856e-05/0.3259, allocations: 51.98 kB / 446.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.3262, allocations: 59.95 kB / 447 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003845/0.3266, allocations: 140.8 kB / 447.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.3266, allocations: 23.98 kB / 447.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.3296, allocations: 2.387 MB / 449.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3296, allocations: 0 / 449.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.3316, allocations: 1.072 MB / 450.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.332, allocations: 186.8 kB / 450.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.3322, allocations: 15.98 kB / 450.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.3325, allocations: 19.98 kB / 450.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.3327, allocations: 44.36 kB / 450.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.3327, allocations: 23.98 kB / 450.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.3339, allocations: 0.8578 MB / 451.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3339, allocations: 4 kB / 451.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009633/0.3348, allocations: 379.2 kB / 452.1 MB, free: 10.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003048/0.3379, allocations: 1.969 MB / 454.1 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.3396, allocations: 0.8005 MB / 454.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3396, allocations: 3.938 kB / 454.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009932/0.3406, allocations: 0.5595 MB / 455.5 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.3415, allocations: 182.2 kB / 455.6 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.3558, allocations: 9.282 MB / 464.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/0.3566, allocations: 1.17 MB / 466.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000509/0.3571, allocations: 183.2 kB / 466.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/0.3578, allocations: 0.5735 MB / 466.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3578, allocations: 3.938 kB / 466.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07625/0.434, allocations: 29.59 MB / 496.4 MB, free: 13.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/14.9, allocations: 11.94 kB / 496.4 MB, free: 13.81 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.998e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.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: 17.59983269299846]