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.005963/0.005963, allocations: 99.8 kB / 21.96 MB, free: 5.211 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.001625/0.001625, allocations: 217.5 kB / 25.25 MB, free: 3.145 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.364/1.364, allocations: 207.7 MB / 236.1 MB, free: 9.953 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.001768/0.001768, allocations: 51.94 kB / 348 MB, free: 9.918 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.258, allocations: 49.16 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006312/0.2643, allocations: 6.337 MB / 403.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.2753, allocations: 9.014 MB / 412.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.2769, allocations: 120.3 kB / 412.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.2788, allocations: 0.6212 MB / 413.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.2837, allocations: 1.193 MB / 414.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.2859, allocations: 0.666 MB / 415.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004345/0.2903, allocations: 2.506 MB / 417.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.2906, allocations: 174.5 kB / 417.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.2914, allocations: 0.4923 MB / 418.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006473/0.2921, allocations: 0.5185 MB / 418.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.2922, allocations: 53.53 kB / 418.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.2941, allocations: 0.6993 MB / 419.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.2943, allocations: 190.5 kB / 419.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.2949, allocations: 0.5032 MB / 420.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.2974, allocations: 1.972 MB / 422.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2974, allocations: 0 / 422.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2974, allocations: 0 / 422.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.2975, allocations: 0 / 422.2 MB, free: 8.793 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.002992/0.3005, allocations: 1.969 MB / 424.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3005, allocations: 14.08 kB / 424.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.613e-05/0.3005, allocations: 12.25 kB / 424.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.3006, allocations: 90.55 kB / 424.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.3009, allocations: 208 kB / 424.5 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.3032, allocations: 1.242 MB / 425.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.3032, allocations: 35.16 kB / 425.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.3033, allocations: 47.67 kB / 425.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3043, allocations: 0.517 MB / 426.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3043, allocations: 0 / 426.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.3044, allocations: 20 kB / 426.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.3044, allocations: 12 kB / 426.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009285/0.3053, allocations: 480.1 kB / 426.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.3086, allocations: 1.949 MB / 428.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009416/0.3095, allocations: 0.4958 MB / 429.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.3103, allocations: 465.4 kB / 429.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00663/0.3169, allocations: 2.53 MB / 432.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005958/0.3175, allocations: 282.2 kB / 432.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 2.915e-06/0.3175, allocations: 0 / 432.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.003909/0.3214, allocations: 1.912 MB / 434.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3215, allocations: 59.84 kB / 434.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.3231, allocations: 1.3 MB / 435.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.3231, allocations: 41.69 kB / 435.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000664/0.3238, allocations: 0.7118 MB / 436.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.324, allocations: 222.1 kB / 436.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.3242, allocations: 118.3 kB / 436.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3243, allocations: 330 kB / 437.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.3247, allocations: 197.5 kB / 437.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.3253, allocations: 367.8 kB / 437.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/0.3276, allocations: 1.132 MB / 438.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3276, allocations: 0 / 438.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001662/0.3292, allocations: 0.917 MB / 439.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3293, allocations: 8 kB / 439.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.169e-05/0.3294, allocations: 63.98 kB / 439.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004156/0.3298, allocations: 157.1 kB / 440 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.3302, allocations: 111.8 kB / 440.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.3332, allocations: 2.383 MB / 442.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.3338, allocations: 24.03 kB / 442.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.3339, allocations: 40 kB / 442.6 MB, free: 5.043 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.000525/0.3344, allocations: 285.7 kB / 442.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.3346, allocations: 194.8 kB / 443 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.3364, allocations: 0.8659 MB / 443.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3364, allocations: 4 kB / 443.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3364, allocations: 4 kB / 443.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3364, allocations: 7.922 kB / 443.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.3375, allocations: 0.7997 MB / 444.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.511e-05/0.3376, allocations: 56 kB / 444.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.3379, allocations: 59.95 kB / 444.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.3382, allocations: 141.1 kB / 445 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.3383, allocations: 20 kB / 445 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.341, allocations: 2.367 MB / 447.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.341, allocations: 0 / 447.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.3429, allocations: 1.072 MB / 448.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.3433, allocations: 186.8 kB / 448.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.3434, allocations: 15.94 kB / 448.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.3438, allocations: 23.97 kB / 448.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3439, allocations: 44.36 kB / 448.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.344, allocations: 20 kB / 448.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.3451, allocations: 0.8694 MB / 449.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3451, allocations: 0 / 449.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009656/0.3461, allocations: 375.3 kB / 449.9 MB, free: 13.46 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.002872/0.3489, allocations: 1.973 MB / 451.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3505, allocations: 0.8011 MB / 452.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3505, allocations: 0 / 452.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009527/0.3514, allocations: 0.555 MB / 453.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.3522, allocations: 178.2 kB / 453.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.3653, allocations: 9.286 MB / 462.7 MB, free: 272 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.3659, allocations: 0.5836 MB / 463.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004884/0.3664, allocations: 183.2 kB / 463.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/0.3671, allocations: 0.5735 MB / 464.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3671, allocations: 0 / 464.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07287/0.4399, allocations: 30.19 MB / 494.3 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.55, allocations: 11.98 kB / 494.3 MB, free: 0.5586 MB / 398.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.854018133017235]