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.006739/0.006739, allocations: 113.8 kB / 21.97 MB, free: 5.219 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.001748/0.001748, allocations: 216.2 kB / 25.28 MB, free: 3.246 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.36/1.36, allocations: 207.6 MB / 236 MB, free: 9.973 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="cs",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.00172/0.00172, allocations: 47.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2598, allocations: 49.17 MB / 397.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00674/0.2665, allocations: 7.39 MB / 404.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.2788, allocations: 10.43 MB / 415 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.2805, allocations: 127.5 kB / 415.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.2826, allocations: 0.6911 MB / 415.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.2872, allocations: 1.187 MB / 417 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.2898, allocations: 0.6665 MB / 417.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004705/0.2945, allocations: 2.512 MB / 420.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.2949, allocations: 176.1 kB / 420.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.2958, allocations: 0.4883 MB / 420.8 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007913/0.2966, allocations: 0.5214 MB / 421.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.2968, allocations: 54.84 kB / 421.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.2988, allocations: 0.696 MB / 422.1 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.299, allocations: 195 kB / 422.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007555/0.2998, allocations: 0.6692 MB / 422.9 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.3026, allocations: 1.954 MB / 424.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3026, allocations: 1.281 kB / 424.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3026, allocations: 0 / 424.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.097e-05/0.3027, allocations: 0 / 424.9 MB, free: 6.055 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.003438/0.3061, allocations: 1.969 MB / 426.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.3062, allocations: 13.3 kB / 426.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.684e-05/0.3062, allocations: 12 kB / 426.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.3063, allocations: 90.59 kB / 427 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.3066, allocations: 207.6 kB / 427.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.3089, allocations: 1.245 MB / 428.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.3089, allocations: 35.16 kB / 428.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.309, allocations: 44.05 kB / 428.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009513/0.3099, allocations: 0.5119 MB / 429 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3099, allocations: 0 / 429 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.31, allocations: 15.44 kB / 429 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.31, allocations: 19.98 kB / 429 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.3109, allocations: 478.8 kB / 429.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003339/0.3143, allocations: 2.058 MB / 431.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009508/0.3152, allocations: 0.5027 MB / 432.1 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007552/0.316, allocations: 465.5 kB / 432.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006494/0.3225, allocations: 2.58 MB / 435.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006002/0.3231, allocations: 286.2 kB / 435.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 3.586e-06/0.3231, allocations: 0 / 435.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.004136/0.3272, allocations: 1.908 MB / 437.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.3273, allocations: 59.84 kB / 437.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.329, allocations: 1.304 MB / 438.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.329, allocations: 37.7 kB / 438.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.3297, allocations: 0.7157 MB / 439.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.3299, allocations: 214.1 kB / 439.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.3301, allocations: 122.3 kB / 439.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3302, allocations: 326 kB / 440 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.3306, allocations: 205.5 kB / 440.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.3312, allocations: 355.8 kB / 440.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.3336, allocations: 1.136 MB / 441.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3336, allocations: 4 kB / 441.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001783/0.3354, allocations: 0.9207 MB / 442.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.3354, allocations: 8 kB / 442.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.22e-05/0.3355, allocations: 64.61 kB / 442.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004316/0.3359, allocations: 152.7 kB / 442.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.3364, allocations: 111.8 kB / 443 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.3395, allocations: 2.414 MB / 445.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.3402, allocations: 28.03 kB / 445.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.3402, allocations: 39.98 kB / 445.5 MB, free: 2.305 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.0005234/0.3408, allocations: 285.5 kB / 445.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.341, allocations: 190.8 kB / 445.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.3429, allocations: 0.8815 MB / 446.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3429, allocations: 8 kB / 446.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3429, allocations: 4 kB / 446.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3429, allocations: 0 / 446.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.344, allocations: 0.8503 MB / 447.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-05/0.3441, allocations: 52.08 kB / 447.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.3444, allocations: 59.95 kB / 447.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003712/0.3448, allocations: 149 kB / 447.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.3448, allocations: 16 kB / 447.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.3478, allocations: 2.39 MB / 450.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3478, allocations: 4 kB / 450.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.3497, allocations: 1.072 MB / 451.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.3501, allocations: 182.8 kB / 451.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.3503, allocations: 12 kB / 451.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.3506, allocations: 15.98 kB / 451.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3507, allocations: 48.36 kB / 451.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.3508, allocations: 23.98 kB / 451.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001138/0.3519, allocations: 0.8655 MB / 452.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3519, allocations: 0 / 452.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009788/0.3529, allocations: 379.3 kB / 452.9 MB, free: 10.64 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.002921/0.3558, allocations: 1.969 MB / 454.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.3574, allocations: 0.805 MB / 455.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3574, allocations: 0 / 455.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009884/0.3584, allocations: 0.5589 MB / 456.3 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.3592, allocations: 186.2 kB / 456.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.3727, allocations: 9.282 MB / 465.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/0.3736, allocations: 1.174 MB / 466.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005078/0.3741, allocations: 183.2 kB / 467.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/0.3747, allocations: 0.5696 MB / 467.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3747, allocations: 4 kB / 467.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06697/0.4417, allocations: 29.61 MB / 497.3 MB, free: 13.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/14.69, allocations: 7.922 kB / 497.3 MB, free: 13.77 MB / 414.1 MB " [Timeout remaining time 645] (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: 17.97426941699814]