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.00178/0.00178, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002163/0.002163, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.965 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.001901/0.001901, allocations: 63.89 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.254, allocations: 53.4 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008598/0.2626, allocations: 7.558 MB / 438.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.2761, allocations: 10.79 MB / 449.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.2771, allocations: 122.6 kB / 449.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.2789, allocations: 0.713 MB / 450.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.2826, allocations: 1.202 MB / 451.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.2844, allocations: 0.6839 MB / 452.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00396/0.2884, allocations: 2.578 MB / 454.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.2888, allocations: 180.4 kB / 455 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007025/0.2895, allocations: 0.5093 MB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.2901, allocations: 0.5434 MB / 456.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.951e-05/0.2902, allocations: 56 kB / 456.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.2919, allocations: 0.7649 MB / 456.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.292, allocations: 186.8 kB / 457.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006375/0.2927, allocations: 0.6754 MB / 457.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.2953, allocations: 1.956 MB / 459.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2953, allocations: 0 / 459.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2953, allocations: 4 kB / 459.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.2953, allocations: 0 / 459.7 MB, free: 10.02 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.003201/0.2985, allocations: 1.967 MB / 461.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.2985, allocations: 12.03 kB / 461.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.2987, allocations: 90.64 kB / 461.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.2989, allocations: 203.7 kB / 462 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.301, allocations: 1.247 MB / 463.2 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.3011, allocations: 37 kB / 463.2 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/0.3012, allocations: 40 kB / 463.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009737/0.3021, allocations: 0.5197 MB / 463.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3021, allocations: 0 / 463.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.3022, allocations: 19.94 kB / 463.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.3022, allocations: 19.98 kB / 463.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.3032, allocations: 472.1 kB / 464.3 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.3065, allocations: 2.058 MB / 466.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3075, allocations: 0.5178 MB / 466.9 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.3083, allocations: 469.3 kB / 467.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005157/0.3134, allocations: 2.334 MB / 469.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006338/0.3141, allocations: 317.5 kB / 470 MB, free: 15.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.976e-06/0.3141, allocations: 4 kB / 470 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005146/0.3192, allocations: 2.266 MB / 472.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.3193, allocations: 63.78 kB / 472.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.3209, allocations: 1.291 MB / 473.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.321, allocations: 37.7 kB / 473.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/0.3216, allocations: 0.6963 MB / 474.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.3218, allocations: 234 kB / 474.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.322, allocations: 118.3 kB / 474.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3221, allocations: 333.9 kB / 475 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/0.3226, allocations: 217.6 kB / 475.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.3232, allocations: 364.4 kB / 475.6 MB, free: 9.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3242, allocations: 0.6087 MB / 476.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3242, allocations: 3.938 kB / 476.2 MB, free: 9.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00177/0.326, allocations: 0.9678 MB / 477.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.326, allocations: 4.5 kB / 477.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.3261, allocations: 72 kB / 477.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/0.3266, allocations: 184.7 kB / 477.4 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.327, allocations: 103.8 kB / 477.5 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/0.3305, allocations: 2.655 MB / 480.2 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/0.331, allocations: 32.02 kB / 480.2 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.3311, allocations: 32 kB / 480.2 MB, free: 4.934 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.0004569/0.3316, allocations: 274.3 kB / 480.5 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.3318, allocations: 190.8 kB / 480.7 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.3337, allocations: 0.9697 MB / 481.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3338, allocations: 4 kB / 481.7 MB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3338, allocations: 4 kB / 481.7 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3338, allocations: 3.984 kB / 481.7 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3349, allocations: 0.8699 MB / 482.5 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.144e-05/0.335, allocations: 64 kB / 482.6 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.3353, allocations: 67.89 kB / 482.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/0.3357, allocations: 176.7 kB / 482.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.3358, allocations: 19.92 kB / 482.9 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/0.3391, allocations: 2.649 MB / 485.5 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3391, allocations: 0 / 485.5 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.3413, allocations: 1.188 MB / 486.7 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.3417, allocations: 182.8 kB / 486.9 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.3418, allocations: 15.92 kB / 486.9 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.3422, allocations: 19.98 kB / 486.9 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3423, allocations: 56.34 kB / 487 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.3424, allocations: 28 kB / 487 MB, free: 13.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.3435, allocations: 0.8535 MB / 487.8 MB, free: 13.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3435, allocations: 0 / 487.8 MB, free: 13.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009311/0.3444, allocations: 391.2 kB / 488.2 MB, free: 12.74 MB / 398.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.003156/0.3476, allocations: 2.089 MB / 490.3 MB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.3493, allocations: 0.8746 MB / 491.2 MB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3493, allocations: 0 / 491.2 MB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.3504, allocations: 0.612 MB / 491.8 MB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008821/0.3513, allocations: 219.2 kB / 492 MB, free: 8.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.3654, allocations: 9.442 MB / 0.4897 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/0.3662, allocations: 1.174 MB / 0.4908 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.3667, allocations: 183.2 kB / 0.491 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/0.3673, allocations: 0.5696 MB / 0.4916 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3673, allocations: 0 / 0.4916 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07771/0.445, allocations: 30.43 MB / 0.5213 GB, free: 14.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/15.73, allocations: 10.06 kB / 0.5213 GB, free: 14.85 MB / 446.1 MB " [Timeout remaining time 644] (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: 18.49728596999921]