Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.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.001304/0.001304, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001587/0.001587, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.464/1.464, allocations: 230.4 MB / 254 MB, free: 15 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.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 55.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.11, allocations: 53.37 MB / 426.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.2393/0.3493, allocations: 7.538 MB / 433.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.3608, allocations: 10.77 MB / 444.7 MB, free: 356 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.3623, allocations: 124.8 kB / 444.8 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.3647, allocations: 0.7094 MB / 445.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005692/0.3704, allocations: 1.201 MB / 446.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.373, allocations: 0.6747 MB / 447.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005667/0.3787, allocations: 2.566 MB / 449.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004973/0.3792, allocations: 177.1 kB / 450.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.3803, allocations: 0.5199 MB / 450.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007688/0.381, allocations: 0.533 MB / 451.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.3812, allocations: 55.84 kB / 451.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.3838, allocations: 0.7717 MB / 452 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.384, allocations: 187.2 kB / 452.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007672/0.3848, allocations: 0.674 MB / 452.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.3888, allocations: 1.952 MB / 454.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3888, allocations: 0 / 454.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3888, allocations: 5.062 kB / 454.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.3889, allocations: 4 kB / 454.8 MB, free: 11.59 MB / 366.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.003899/0.3928, allocations: 2.048 MB / 456.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3928, allocations: 9.812 kB / 456.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.393, allocations: 87.7 kB / 456.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.3933, allocations: 208.6 kB / 457.1 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.3956, allocations: 1.356 MB / 458.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.3956, allocations: 34.41 kB / 458.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/0.3957, allocations: 41.5 kB / 458.6 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.3967, allocations: 0.514 MB / 459.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3968, allocations: 0 / 459.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.3968, allocations: 17.58 kB / 459.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.3968, allocations: 25.58 kB / 459.1 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3978, allocations: 472.9 kB / 459.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.4016, allocations: 2.106 MB / 461.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4026, allocations: 0.6492 MB / 462.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/0.4034, allocations: 466.2 kB / 462.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007151/0.4106, allocations: 4.914 MB / 467.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006634/0.4112, allocations: 320.2 kB / 468 MB, free: 1.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.334e-06/0.4112, allocations: 0 / 468 MB, free: 1.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005531/0.4168, allocations: 2.418 MB / 470.4 MB, free: 480 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.4168, allocations: 62.64 kB / 470.5 MB, free: 412 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.4189, allocations: 1.284 MB / 471.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/0.419, allocations: 37.14 kB / 471.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007955/0.4198, allocations: 0.7023 MB / 472.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.42, allocations: 236.7 kB / 472.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.4203, allocations: 122.5 kB / 472.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.4205, allocations: 331.9 kB / 473.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.4209, allocations: 215.5 kB / 473.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.4216, allocations: 364.4 kB / 473.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.4228, allocations: 0.6162 MB / 474.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4228, allocations: 6.219 kB / 474.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001861/0.4246, allocations: 0.9595 MB / 475.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4247, allocations: 7.344 kB / 475.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.4248, allocations: 65.08 kB / 475.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005178/0.4253, allocations: 184.8 kB / 475.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.4257, allocations: 103.7 kB / 475.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/0.4295, allocations: 2.767 MB / 478.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/0.4303, allocations: 35.41 kB / 478.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.4304, allocations: 30.34 kB / 478.5 MB, free: 10.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005479/0.4309, allocations: 270.7 kB / 478.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.4311, allocations: 190.6 kB / 479 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.4332, allocations: 0.9652 MB / 480 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.4332, allocations: 8 kB / 480 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4332, allocations: 0 / 480 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.4332, allocations: 11.5 kB / 480 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.4345, allocations: 0.8943 MB / 480.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-05/0.4346, allocations: 60.88 kB / 480.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.4349, allocations: 71.88 kB / 481 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004686/0.4354, allocations: 167.5 kB / 481.2 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.4355, allocations: 31.92 kB / 481.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/0.439, allocations: 2.76 MB / 484 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.439, allocations: 0 / 484 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.4413, allocations: 1.186 MB / 485.1 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004723/0.4418, allocations: 260 kB / 485.4 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.4419, allocations: 15.94 kB / 485.4 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.4423, allocations: 23.97 kB / 485.4 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.4424, allocations: 44.38 kB / 485.5 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.4425, allocations: 31.88 kB / 485.5 MB, free: 3.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.4437, allocations: 0.8574 MB / 486.4 MB, free: 3.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4437, allocations: 0 / 486.4 MB, free: 3.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001209/0.4449, allocations: 391.2 kB / 486.7 MB, free: 2.648 MB / 382.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 (31): * Single equations (assignments): 25 * 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,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003509/0.4484, allocations: 2.081 MB / 488.8 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.4505, allocations: 0.8783 MB / 489.7 MB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4505, allocations: 0 / 489.7 MB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.4517, allocations: 0.6079 MB / 490.3 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.4529, allocations: 215.4 kB / 490.5 MB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.4683, allocations: 9.44 MB / 500 MB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/0.4693, allocations: 1.178 MB / 0.4894 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005443/0.4698, allocations: 187.2 kB / 0.4896 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/0.4705, allocations: 0.5657 MB / 0.4901 GB, free: 3.102 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4705, allocations: 4 kB / 0.4901 GB, free: 3.098 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07382/0.5443, allocations: 29.87 MB / 0.5193 GB, free: 5.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.71, allocations: 7.156 kB / 0.5193 GB, free: 5.332 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 16.39337053091731]