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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001097/0.001097, allocations: 96.97 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 207.9 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002314/0.0002314, allocations: 8 kB / 308.4 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09378, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006809/0.1007, allocations: 7.041 MB / 366.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1815/0.2823, allocations: 10.83 MB / 377.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008115/0.2831, allocations: 36.25 kB / 377.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.2849, allocations: 0.6354 MB / 378.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.2889, allocations: 0.9659 MB / 379.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.291, allocations: 499.4 kB / 379.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003872/0.2949, allocations: 2.482 MB / 382.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004871/0.2954, allocations: 266 kB / 382.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007279/0.2961, allocations: 450.8 kB / 383.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.2966, allocations: 0.5086 MB / 383.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.174e-05/0.2967, allocations: 31.22 kB / 383.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.2987, allocations: 0.7449 MB / 384.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.2989, allocations: 158.9 kB / 384.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000573/0.2994, allocations: 0.6738 MB / 385.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.3014, allocations: 1.406 MB / 386.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3014, allocations: 0.7969 kB / 386.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3014, allocations: 0 / 386.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.663e-05/0.3015, allocations: 0 / 386.6 MB, free: 6.77 MB / 302.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.002808/0.3043, allocations: 1.754 MB / 388.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3043, allocations: 8.906 kB / 388.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.3046, allocations: 198.7 kB / 388.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.3064, allocations: 1.352 MB / 389.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.3064, allocations: 30.19 kB / 389.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.17e-05/0.3065, allocations: 53.5 kB / 390 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.3074, allocations: 0.5219 MB / 390.5 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3075, allocations: 0 / 390.5 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.3075, allocations: 23.78 kB / 390.5 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.3075, allocations: 13.89 kB / 390.5 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/0.3085, allocations: 497.3 kB / 391 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.3114, allocations: 2.117 MB / 393.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.3123, allocations: 0.7243 MB / 393.9 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006963/0.313, allocations: 0.5409 MB / 394.4 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005572/0.3186, allocations: 4.91 MB / 399.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005976/0.3192, allocations: 325.2 kB / 399.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 2.785e-06/0.3192, allocations: 0 / 399.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.005085/0.3243, allocations: 2.47 MB / 402.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3244, allocations: 61.38 kB / 402.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.3258, allocations: 1.286 MB / 403.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.3259, allocations: 36.64 kB / 403.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/0.3264, allocations: 0.6953 MB / 404.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.3266, allocations: 227.8 kB / 404.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.3267, allocations: 57.31 kB / 404.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3268, allocations: 336.4 kB / 404.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.3272, allocations: 223.8 kB / 405 MB, free: 10.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.3278, allocations: 373.5 kB / 405.4 MB, free: 9.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3288, allocations: 0.6325 MB / 406 MB, free: 9.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3288, allocations: 4 kB / 406 MB, free: 9.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001772/0.3306, allocations: 0.9892 MB / 407 MB, free: 8.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3306, allocations: 4.5 kB / 407 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-05/0.3307, allocations: 68 kB / 407.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004799/0.3312, allocations: 180.7 kB / 407.3 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.3316, allocations: 111.9 kB / 407.4 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.3346, allocations: 2.527 MB / 409.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.3353, allocations: 36.03 kB / 409.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.3354, allocations: 34.94 kB / 410 MB, free: 5.355 MB / 318.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.0005775/0.336, allocations: 273.6 kB / 410.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.3362, allocations: 185.8 kB / 410.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.3382, allocations: 0.9914 MB / 411.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3383, allocations: 12 kB / 411.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3383, allocations: 7.984 kB / 411.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3383, allocations: 3.938 kB / 411.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3395, allocations: 0.8914 MB / 412.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.28e-05/0.3395, allocations: 63.98 kB / 412.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.3399, allocations: 67.89 kB / 412.4 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004326/0.3403, allocations: 184.1 kB / 412.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.3404, allocations: 16 kB / 412.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/0.3433, allocations: 2.534 MB / 415.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3434, allocations: 0 / 415.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.3455, allocations: 1.212 MB / 416.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.346, allocations: 254.9 kB / 416.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.3463, allocations: 15.98 kB / 416.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.3467, allocations: 23.98 kB / 416.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3468, allocations: 48.38 kB / 416.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.3469, allocations: 27.98 kB / 416.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.3481, allocations: 0.8535 MB / 417.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3481, allocations: 0 / 417.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001103/0.3492, allocations: 383.8 kB / 418 MB, free: 13.11 MB / 334.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.000859/0.3501, allocations: 466.4 kB / 418.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.3519, allocations: 0.933 MB / 419.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3519, allocations: 4.062 kB / 419.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.353, allocations: 0.6624 MB / 420 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3541, allocations: 212 kB / 420.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.3587, allocations: 3.003 MB / 423.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009265/0.3597, allocations: 1.17 MB / 424.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.3599, allocations: 83.44 kB / 424.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3599, allocations: 0 / 424.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of Templates: time 0.03272/0.3927, allocations: 24 MB / 448.5 MB, free: 14.52 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches