Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 106.5 kB / 17.06 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 200 kB / 18 MB, free: 4.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 43.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2602, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007155/0.2674, allocations: 7.495 MB / 408.2 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.2792, allocations: 10.71 MB / 418.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.2804, allocations: 79.31 kB / 419 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.2821, allocations: 0.7074 MB / 419.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.2853, allocations: 1.204 MB / 420.9 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.2867, allocations: 0.674 MB / 421.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003122/0.2899, allocations: 2.533 MB / 424.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.2903, allocations: 275.9 kB / 424.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.2908, allocations: 0.4976 MB / 424.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.2913, allocations: 0.5434 MB / 425.4 MB, free: 40 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.2914, allocations: 52.05 kB / 425.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.2927, allocations: 0.7688 MB / 426.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.2929, allocations: 186.8 kB / 426.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.2934, allocations: 0.6715 MB / 427.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.2952, allocations: 1.938 MB / 429 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2952, allocations: 3.984 kB / 429 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2952, allocations: 0 / 429 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.2952, allocations: 0 / 429 MB, free: 12.41 MB / 350.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.002466/0.2977, allocations: 1.989 MB / 431 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2977, allocations: 8.031 kB / 431 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.2979, allocations: 198.6 kB / 431.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.2997, allocations: 1.345 MB / 432.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.2997, allocations: 32.94 kB / 432.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/0.2998, allocations: 48 kB / 432.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.3006, allocations: 0.5119 MB / 433.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3007, allocations: 0 / 433.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.3007, allocations: 16 kB / 433.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.3007, allocations: 19.98 kB / 433.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008531/0.3016, allocations: 468.1 kB / 433.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.3043, allocations: 2.089 MB / 435.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/0.3053, allocations: 0.7163 MB / 436.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006758/0.3059, allocations: 0.5134 MB / 437 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006908/0.3129, allocations: 6.509 MB / 443.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005001/0.3134, allocations: 298.4 kB / 443.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 2.034e-06/0.3134, allocations: 0 / 443.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.003181/0.3166, allocations: 1.956 MB / 445.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3166, allocations: 67.84 kB / 445.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.3179, allocations: 1.288 MB / 447.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.318, allocations: 41.69 kB / 447.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/0.3185, allocations: 0.7111 MB / 447.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.3187, allocations: 209 kB / 448 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.3188, allocations: 118.2 kB / 448.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3189, allocations: 334 kB / 448.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.3193, allocations: 201.5 kB / 448.7 MB, free: 7.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.3198, allocations: 369.1 kB / 449 MB, free: 6.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009023/0.3207, allocations: 0.5909 MB / 449.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3208, allocations: 4 kB / 449.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00138/0.3221, allocations: 0.9142 MB / 450.6 MB, free: 5.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3222, allocations: 8 kB / 450.6 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.337e-05/0.3223, allocations: 60.56 kB / 450.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.3226, allocations: 167.3 kB / 450.8 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.3231, allocations: 111.8 kB / 450.9 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.3256, allocations: 2.515 MB / 453.4 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.3261, allocations: 32.03 kB / 453.4 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.3261, allocations: 35.98 kB / 453.5 MB, free: 2.336 MB / 366.1 MB 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.000329/0.3264, allocations: 273.6 kB / 453.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.3266, allocations: 185.8 kB / 453.9 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.3283, allocations: 0.8903 MB / 454.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3283, allocations: 8 kB / 454.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3283, allocations: 0 / 454.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3283, allocations: 4 kB / 454.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.3292, allocations: 0.8709 MB / 455.7 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-05/0.3292, allocations: 52.05 kB / 455.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.3295, allocations: 63.84 kB / 455.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.3299, allocations: 151.3 kB / 456 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.3299, allocations: 20 kB / 456 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.3324, allocations: 2.482 MB / 458.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3324, allocations: 0 / 458.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3341, allocations: 1.076 MB / 459.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.3344, allocations: 250.9 kB / 459.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.3345, allocations: 12 kB / 459.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.3349, allocations: 19.92 kB / 459.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.335, allocations: 48.38 kB / 459.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.335, allocations: 20 kB / 459.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009372/0.336, allocations: 0.8617 MB / 460.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.336, allocations: 0 / 460.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008253/0.3368, allocations: 379.8 kB / 461.1 MB, free: 10.46 MB / 382.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.0006915/0.3375, allocations: 456.1 kB / 461.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.339, allocations: 0.8366 MB / 462.4 MB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.339, allocations: 4.062 kB / 462.4 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008858/0.3399, allocations: 0.5823 MB / 463 MB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.3406, allocations: 205.2 kB / 463.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.3437, allocations: 2.386 MB / 465.6 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.3444, allocations: 1.17 MB / 466.7 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.3448, allocations: 183.2 kB / 466.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.345, allocations: 87.44 kB / 467 MB, free: 4.449 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.345, allocations: 0 / 467 MB, free: 4.449 MB / 382.1 MB Notification: Performance of Templates: time 0.02386/0.3688, allocations: 13.52 MB / 480.5 MB, free: 6.984 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches