Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001276/0.001276, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001377/0.001377, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.912/0.912, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.857e-05, allocations: 2.281 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004662/0.004681, allocations: 6.496 MB / 331 MB, free: 9.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007872/0.01255, allocations: 9.332 MB / 340.4 MB, free: 60 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.01369, allocations: 122.7 kB / 340.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.01507, allocations: 0.65 MB / 341.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.01841, allocations: 1.252 MB / 342.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.01987, allocations: 0.6758 MB / 343.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002922/0.02279, allocations: 2.644 MB / 345.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.02311, allocations: 172.4 kB / 345.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.02382, allocations: 0.7168 MB / 346.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.02419, allocations: 382.5 kB / 347 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.02425, allocations: 56 kB / 347 MB, free: 9.352 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.02538, allocations: 0.6946 MB / 347.7 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.02549, allocations: 182.8 kB / 347.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.0258, allocations: 386.8 kB / 348.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.02765, allocations: 1.997 MB / 350.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.02766, allocations: 0 / 350.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02766, allocations: 4 kB / 350.3 MB, free: 6.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.02768, allocations: 4 kB / 350.3 MB, free: 6.086 MB / 314.7 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.001865/0.02955, allocations: 1.946 MB / 352.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.02959, allocations: 16.03 kB / 352.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.02968, allocations: 86.7 kB / 352.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.02984, allocations: 207.7 kB / 352.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.03123, allocations: 1.235 MB / 353.8 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.03125, allocations: 33.38 kB / 353.8 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.03132, allocations: 56.06 kB / 353.9 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.03193, allocations: 0.5119 MB / 354.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.03195, allocations: 0 / 354.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.03198, allocations: 24 kB / 354.4 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.03199, allocations: 12 kB / 354.4 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.03257, allocations: 476.1 kB / 354.9 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.03462, allocations: 1.946 MB / 356.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.03519, allocations: 0.4914 MB / 357.3 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.03565, allocations: 481.3 kB / 357.8 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002997/0.03864, allocations: 2.253 MB / 360 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.03903, allocations: 314 kB / 360.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=61): time 2.054e-06/0.03903, allocations: 3.938 kB / 360.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.003108/0.04214, allocations: 2.29 MB / 362.6 MB, free: 9.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.04219, allocations: 63.84 kB / 362.7 MB, free: 9.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.04331, allocations: 1.288 MB / 364 MB, free: 8.102 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.04335, allocations: 37.7 kB / 364 MB, free: 8.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.04377, allocations: 0.7041 MB / 364.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.04391, allocations: 226 kB / 364.9 MB, free: 7.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.04403, allocations: 122.3 kB / 365.1 MB, free: 7.004 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.04413, allocations: 334 kB / 365.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.0444, allocations: 213.6 kB / 365.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.04474, allocations: 360.5 kB / 366 MB, free: 6.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.04539, allocations: 0.6165 MB / 366.6 MB, free: 5.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.04539, allocations: 4 kB / 366.6 MB, free: 5.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001098/0.04649, allocations: 0.9716 MB / 367.5 MB, free: 4.402 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.04651, allocations: 8 kB / 367.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.987e-05/0.04657, allocations: 67.98 kB / 367.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/0.04692, allocations: 177.2 kB / 367.8 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.04717, allocations: 103.8 kB / 367.9 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.04942, allocations: 2.639 MB / 370.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.04977, allocations: 27.97 kB / 370.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.04981, allocations: 31.98 kB / 370.6 MB, free: 1.25 MB / 330.7 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.0003346/0.05015, allocations: 269.8 kB / 370.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.05028, allocations: 186.9 kB / 371 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.0515, allocations: 0.9662 MB / 372 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.05151, allocations: 11.94 kB / 372 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.05151, allocations: 0 / 372 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.05152, allocations: 7.984 kB / 372 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.05223, allocations: 0.8035 MB / 372.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.962e-05/0.05228, allocations: 60 kB / 372.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.05246, allocations: 71.88 kB / 373 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.05275, allocations: 168.7 kB / 373.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.05278, allocations: 20 kB / 373.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.05485, allocations: 2.629 MB / 375.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.05486, allocations: 0 / 375.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.05622, allocations: 1.189 MB / 377 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.05646, allocations: 182.8 kB / 377.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/0.05654, allocations: 12 kB / 377.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.05673, allocations: 19.97 kB / 377.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.05684, allocations: 56.36 kB / 377.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.05687, allocations: 23.98 kB / 377.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00075/0.05762, allocations: 0.8535 MB / 378.1 MB, free: 9.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05762, allocations: 3.938 kB / 378.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000669/0.05829, allocations: 391.2 kB / 378.5 MB, free: 9.156 MB / 346.7 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.002094/0.06038, allocations: 2.113 MB / 380.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.06154, allocations: 0.8715 MB / 381.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.06155, allocations: 0 / 381.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006339/0.06218, allocations: 0.6165 MB / 382.1 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.06282, allocations: 198.2 kB / 382.3 MB, free: 5.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00934/0.07216, allocations: 9.37 MB / 391.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.07253, allocations: 0.5876 MB / 392.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003176/0.07284, allocations: 183.2 kB / 392.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.07324, allocations: 0.5745 MB / 393 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.07324, allocations: 0 / 393 MB, free: 10.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/0.1192, allocations: 31.38 MB / 424.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.09, allocations: 6.641 kB / 424.4 MB, free: 11.09 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,T1.vbe,T2.vbe Variables in the result:time,T1.vbe,T1.vbx,T2.vbe,T2.vbx [Calling sys.exit(0), Time elapsed: 10.031019680202007]