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.001571/0.001571, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001455/0.001455, allocations: 215 kB / 24.47 MB, free: 3.777 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.402/1.402, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.00182/0.00182, allocations: 55.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2623, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007124/0.2694, allocations: 6.351 MB / 402.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.2806, allocations: 9.01 MB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.2827, allocations: 124.1 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.2854, allocations: 0.6264 MB / 412.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004939/0.2904, allocations: 1.185 MB / 413.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.2927, allocations: 0.6617 MB / 414.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004447/0.2971, allocations: 2.507 MB / 416.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.2975, allocations: 172.2 kB / 417 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.2983, allocations: 0.4888 MB / 417.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006447/0.2989, allocations: 0.4983 MB / 418 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.299, allocations: 55.19 kB / 418 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.3007, allocations: 0.6589 MB / 418.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.3009, allocations: 179.5 kB / 418.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005481/0.3014, allocations: 0.51 MB / 419.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.304, allocations: 1.968 MB / 421.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.304, allocations: 1.531 kB / 421.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.304, allocations: 0 / 421.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.304, allocations: 0 / 421.3 MB, free: 8.848 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.003323/0.3073, allocations: 1.968 MB / 423.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3074, allocations: 13.98 kB / 423.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.3075, allocations: 89.64 kB / 423.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.3078, allocations: 211.4 kB / 423.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.31, allocations: 1.239 MB / 424.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.31, allocations: 31.31 kB / 424.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.249e-05/0.3101, allocations: 48.08 kB / 424.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3111, allocations: 0.5158 MB / 425.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3111, allocations: 0 / 425.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.3112, allocations: 16 kB / 425.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3112, allocations: 16 kB / 425.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/0.3122, allocations: 476.1 kB / 425.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.3156, allocations: 1.949 MB / 427.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000973/0.3166, allocations: 0.4958 MB / 428.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.3174, allocations: 473.4 kB / 428.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00698/0.3244, allocations: 2.518 MB / 431.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006117/0.325, allocations: 294.1 kB / 431.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 2.484e-06/0.325, allocations: 0 / 431.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.004031/0.329, allocations: 1.908 MB / 433.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.3291, allocations: 59.84 kB / 433.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.3308, allocations: 1.304 MB / 434.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.3308, allocations: 41.64 kB / 435 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007053/0.3315, allocations: 0.7118 MB / 435.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.3317, allocations: 218.1 kB / 435.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.3319, allocations: 118.3 kB / 436 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3321, allocations: 334 kB / 436.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.3325, allocations: 205.5 kB / 436.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.3331, allocations: 359.8 kB / 436.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.3355, allocations: 1.132 MB / 438 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3355, allocations: 7.938 kB / 438 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001847/0.3374, allocations: 0.9129 MB / 438.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3374, allocations: 8 kB / 438.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.811e-05/0.3375, allocations: 59.98 kB / 439 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/0.3379, allocations: 161.3 kB / 439.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.3384, allocations: 111.8 kB / 439.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.3414, allocations: 2.387 MB / 441.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.3421, allocations: 32.03 kB / 441.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.3421, allocations: 32 kB / 441.7 MB, free: 5.082 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.000535/0.3427, allocations: 273.6 kB / 442 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.3429, allocations: 190.9 kB / 442.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.3447, allocations: 0.8815 MB / 443 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3447, allocations: 4 kB / 443 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3447, allocations: 8 kB / 443.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3447, allocations: 3.984 kB / 443.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3458, allocations: 0.7842 MB / 443.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.431e-05/0.3459, allocations: 56 kB / 443.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.3462, allocations: 63.83 kB / 444 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/0.3466, allocations: 153 kB / 444.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.3466, allocations: 16 kB / 444.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/0.3495, allocations: 2.36 MB / 446.5 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3495, allocations: 0 / 446.5 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.3516, allocations: 1.076 MB / 447.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.352, allocations: 174.9 kB / 447.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.3521, allocations: 8 kB / 447.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.3525, allocations: 27.97 kB / 447.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.3526, allocations: 44.36 kB / 447.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.3527, allocations: 27.94 kB / 447.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.3538, allocations: 0.8578 MB / 448.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3538, allocations: 0 / 448.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3549, allocations: 383.2 kB / 449.1 MB, free: 13.52 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.003161/0.3581, allocations: 1.973 MB / 451 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.3598, allocations: 0.8204 MB / 451.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3599, allocations: 0 / 451.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.3609, allocations: 0.5394 MB / 452.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.362, allocations: 190.3 kB / 452.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.3767, allocations: 9.278 MB / 461.9 MB, free: 328 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.3773, allocations: 0.5837 MB / 462.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004989/0.3778, allocations: 191.1 kB / 462.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.3785, allocations: 0.5695 MB / 463.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3785, allocations: 0 / 463.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07463/0.4531, allocations: 30.34 MB / 493.5 MB, free: 488 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.13, allocations: 0 / 493.5 MB, free: 488 kB / 398.1 MB " [Timeout remaining time 647] (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: 15.96786326682195]