Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 201.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007311/0.0007311, allocations: 98.8 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002114/0.0002115, allocations: 11.98 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1888, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004427/0.1933, allocations: 6.587 MB / 418.6 MB, free: 19.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008732/0.202, allocations: 11.43 MB / 430.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008184/0.2029, allocations: 35.69 kB / 430.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.2043, allocations: 0.6347 MB / 430.7 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.2072, allocations: 0.9759 MB / 431.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.2087, allocations: 0.4918 MB / 432.2 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.2116, allocations: 2.424 MB / 434.6 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.2119, allocations: 260.3 kB / 434.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.2123, allocations: 453.5 kB / 435.3 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.2127, allocations: 0.5122 MB / 435.8 MB, free: 1.742 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.2128, allocations: 32 kB / 435.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.2141, allocations: 0.6946 MB / 436.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2142, allocations: 154.8 kB / 436.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.2146, allocations: 0.6809 MB / 437.4 MB, free: 176 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.2167, allocations: 1.864 MB / 439.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2167, allocations: 0 / 439.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2167, allocations: 0 / 439.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.2167, allocations: 4 kB / 439.3 MB, free: 14.3 MB / 314.7 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.00242/0.2192, allocations: 1.76 MB / 441 MB, free: 12.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2192, allocations: 8.031 kB / 441 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.2194, allocations: 198.6 kB / 441.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.221, allocations: 1.345 MB / 442.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.2211, allocations: 36.88 kB / 442.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/0.2212, allocations: 51.91 kB / 442.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/0.2221, allocations: 0.5158 MB / 443.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2221, allocations: 0 / 443.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.2222, allocations: 19.98 kB / 443.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.2222, allocations: 16 kB / 443.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008761/0.2231, allocations: 492.1 kB / 443.7 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.2259, allocations: 2.112 MB / 445.8 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009358/0.2269, allocations: 0.7313 MB / 446.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/0.2276, allocations: 0.5213 MB / 447 MB, free: 6.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005286/0.2329, allocations: 4.912 MB / 452 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/0.2335, allocations: 322 kB / 452.3 MB, free: 360 kB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 2.374e-06/0.2336, allocations: 3.938 kB / 452.3 MB, free: 356 kB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.004761/0.2383, allocations: 2.46 MB / 454.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.2384, allocations: 59.83 kB / 454.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.2398, allocations: 1.268 MB / 456.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.2398, allocations: 41.7 kB / 456.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005357/0.2404, allocations: 0.6919 MB / 456.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.2405, allocations: 224.7 kB / 457 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.2406, allocations: 12 kB / 457 MB, free: 11.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2407, allocations: 333.9 kB / 457.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.2412, allocations: 229.5 kB / 457.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.2417, allocations: 372.5 kB / 457.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2427, allocations: 0.6268 MB / 458.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2427, allocations: 0 / 458.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001949/0.2447, allocations: 0.9812 MB / 459.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2447, allocations: 8 kB / 459.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.2448, allocations: 67.94 kB / 459.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.2454, allocations: 184 kB / 459.8 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.246, allocations: 115.9 kB / 459.9 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.2495, allocations: 2.522 MB / 462.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.2502, allocations: 32.03 kB / 462.5 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.2502, allocations: 28 kB / 462.5 MB, free: 5.762 MB / 330.7 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 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * 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.0004451/0.2507, allocations: 280.2 kB / 462.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.2509, allocations: 189.8 kB / 463 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.2529, allocations: 0.9874 MB / 463.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.2529, allocations: 8 kB / 464 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.2529, allocations: 7.984 kB / 464 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2529, allocations: 96 / 464 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.2539, allocations: 0.9133 MB / 464.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.542e-05/0.254, allocations: 67.98 kB / 464.9 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.2543, allocations: 67.89 kB / 465 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.2548, allocations: 177.5 kB / 465.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.2548, allocations: 20 kB / 465.2 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.2576, allocations: 2.522 MB / 467.7 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2576, allocations: 7.875 kB / 467.7 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.2596, allocations: 1.201 MB / 468.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.26, allocations: 258.9 kB / 469.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.2601, allocations: 15.98 kB / 469.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.2605, allocations: 23.98 kB / 469.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.2607, allocations: 48.38 kB / 469.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.2607, allocations: 27.98 kB / 469.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.2618, allocations: 0.8379 MB / 470.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2618, allocations: 0 / 470.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008522/0.2626, allocations: 387.8 kB / 470.5 MB, free: 13.5 MB / 346.7 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.0007132/0.2633, allocations: 464.1 kB / 471 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.2651, allocations: 0.933 MB / 471.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2651, allocations: 0 / 471.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.2661, allocations: 0.6587 MB / 472.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.267, allocations: 214 kB / 472.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.2705, allocations: 2.951 MB / 475.7 MB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.2711, allocations: 1.174 MB / 476.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006041/0.2717, allocations: 187.1 kB / 477.1 MB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.2719, allocations: 83.44 kB / 477.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2719, allocations: 0 / 477.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of Templates: time 0.02398/0.2959, allocations: 13.49 MB / 490.7 MB, free: 9.289 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches