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.001309/0.001309, 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.001399/0.001399, 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.415/1.415, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.001986/0.001986, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2665, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007159/0.2737, allocations: 7.392 MB / 403.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.2876, allocations: 10.43 MB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.2897, allocations: 121.4 kB / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.2925, allocations: 0.6974 MB / 415 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.2981, allocations: 1.183 MB / 416.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.3011, allocations: 0.6771 MB / 416.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005774/0.3069, allocations: 2.507 MB / 419.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.3074, allocations: 188.5 kB / 419.5 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.3085, allocations: 492.7 kB / 420 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008087/0.3093, allocations: 0.5289 MB / 420.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.3094, allocations: 55.41 kB / 420.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.3118, allocations: 0.7027 MB / 421.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.312, allocations: 178.5 kB / 421.5 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008828/0.3129, allocations: 0.6746 MB / 422.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003865/0.3168, allocations: 1.958 MB / 424.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3168, allocations: 1.312 kB / 424.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3168, allocations: 0 / 424.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.655e-05/0.3168, allocations: 0 / 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.004098/0.3209, allocations: 1.968 MB / 426.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.321, allocations: 13.2 kB / 426.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.3211, allocations: 87.17 kB / 426.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.3215, allocations: 207.2 kB / 426.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.3241, allocations: 1.234 MB / 427.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.3241, allocations: 35.22 kB / 427.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.3242, allocations: 44.55 kB / 427.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3253, allocations: 0.5222 MB / 428.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.3253, allocations: 1.312 kB / 428.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.3253, allocations: 15.25 kB / 428.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.3254, allocations: 19.33 kB / 428.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.3263, allocations: 476.5 kB / 428.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.3299, allocations: 2.058 MB / 430.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/0.3308, allocations: 0.5036 MB / 431.3 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/0.3315, allocations: 465.4 kB / 431.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006448/0.338, allocations: 2.584 MB / 434.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005718/0.3385, allocations: 290.2 kB / 434.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 2.555e-06/0.3385, allocations: 0 / 434.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.003734/0.3423, allocations: 1.908 MB / 436.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3423, allocations: 55.84 kB / 436.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.3439, allocations: 1.3 MB / 437.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.3439, allocations: 33.7 kB / 437.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006324/0.3446, allocations: 0.7157 MB / 438.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.3448, allocations: 214.2 kB / 438.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.3449, allocations: 126.3 kB / 438.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3451, allocations: 334 kB / 439.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.3455, allocations: 189.6 kB / 439.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.346, allocations: 371.7 kB / 439.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/0.3483, allocations: 1.128 MB / 440.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3483, allocations: 3.938 kB / 440.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001721/0.3501, allocations: 0.929 MB / 441.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3501, allocations: 8 kB / 441.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.942e-05/0.3502, allocations: 56 kB / 441.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.3506, allocations: 160.8 kB / 442.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.351, allocations: 107.8 kB / 442.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/0.3541, allocations: 2.41 MB / 444.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/0.3548, allocations: 28.12 kB / 444.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.3549, allocations: 32 kB / 444.7 MB, free: 2.324 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.0005098/0.3554, allocations: 285.6 kB / 444.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.3556, allocations: 190.8 kB / 445.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.3574, allocations: 0.8776 MB / 446 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3574, allocations: 8 kB / 446 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3574, allocations: 3.938 kB / 446 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3574, allocations: 7.984 kB / 446 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3586, allocations: 0.8503 MB / 446.9 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001028/0.3587, allocations: 56.03 kB / 446.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.359, allocations: 59.91 kB / 447 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.3594, allocations: 140.8 kB / 447.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.3595, allocations: 19.98 kB / 447.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.3625, allocations: 2.387 MB / 449.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3625, allocations: 4 kB / 449.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.3646, allocations: 1.069 MB / 450.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/0.3652, allocations: 186.7 kB / 450.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.3655, allocations: 15.98 kB / 450.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005225/0.366, allocations: 23.98 kB / 450.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3662, allocations: 48.36 kB / 450.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.3662, allocations: 20 kB / 450.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001437/0.3677, allocations: 0.8617 MB / 451.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3677, allocations: 0 / 451.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001234/0.3689, allocations: 379.2 kB / 452.1 MB, free: 10.66 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.003217/0.3721, allocations: 1.969 MB / 454.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.3739, allocations: 0.8051 MB / 454.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3739, allocations: 3.938 kB / 454.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.3749, allocations: 0.5472 MB / 455.5 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.376, allocations: 182.3 kB / 455.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.3933, allocations: 9.29 MB / 464.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.3944, allocations: 1.166 MB / 466.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007136/0.3952, allocations: 187.2 kB / 466.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008843/0.396, allocations: 0.5696 MB / 466.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.584e-06/0.396, allocations: 0 / 466.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08225/0.4783, allocations: 29.59 MB / 496.4 MB, free: 13.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/15.4, allocations: 8 kB / 496.4 MB, free: 13.82 MB / 414.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-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.mat","/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: 18.342767636058852]