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.001371/0.001371, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.001434/0.001434, allocations: 191 kB / 18.63 MB, free: 4.512 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.357/1.357, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009626/0.0009626, allocations: 49.58 kB / 302.1 MB, free: 5.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.08487, allocations: 49.45 MB / 351.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007025/0.09193, allocations: 7.5 MB / 359 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1025, allocations: 10.7 MB / 369.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007303/0.1033, allocations: 75.31 kB / 369.8 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.1046, allocations: 0.7101 MB / 370.5 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1489/0.2535, allocations: 1.183 MB / 371.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.2555, allocations: 0.6735 MB / 372.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003462/0.259, allocations: 2.538 MB / 374.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.2594, allocations: 287.3 kB / 375.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.2599, allocations: 496.4 kB / 375.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.2604, allocations: 0.5319 MB / 376.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.2605, allocations: 56.38 kB / 376.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.2619, allocations: 0.7695 MB / 377 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.262, allocations: 188.6 kB / 377.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.2625, allocations: 0.6708 MB / 377.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.2644, allocations: 1.943 MB / 379.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2644, allocations: 0 / 379.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2644, allocations: 0 / 379.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.2644, allocations: 0 / 379.8 MB, free: 9.648 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.002544/0.267, allocations: 1.985 MB / 381.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.267, allocations: 9.125 kB / 381.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.2673, allocations: 198.9 kB / 382 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.269, allocations: 1.342 MB / 383.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.2691, allocations: 35.47 kB / 383.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/0.2692, allocations: 45.48 kB / 383.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/0.27, allocations: 0.5105 MB / 383.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.27, allocations: 1.469 kB / 383.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.2701, allocations: 18.36 kB / 383.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.2701, allocations: 15.41 kB / 384 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008984/0.271, allocations: 479.8 kB / 384.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.2738, allocations: 2.077 MB / 386.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008136/0.2746, allocations: 0.699 MB / 387.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.2753, allocations: 0.5276 MB / 387.7 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006547/0.2818, allocations: 6.526 MB / 394.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005288/0.2824, allocations: 299.2 kB / 394.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 2.585e-06/0.2824, allocations: 1.094 kB / 394.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.003561/0.286, allocations: 1.958 MB / 396.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.286, allocations: 65.72 kB / 396.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.2876, allocations: 1.298 MB / 397.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.2877, allocations: 36.2 kB / 397.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00057/0.2882, allocations: 0.7128 MB / 398.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.2884, allocations: 201.2 kB / 398.8 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.2886, allocations: 120.3 kB / 398.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2887, allocations: 330.8 kB / 399.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.2891, allocations: 210.2 kB / 399.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.2895, allocations: 357.9 kB / 399.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.2904, allocations: 0.5952 MB / 400.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2904, allocations: 0 / 400.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00138/0.2918, allocations: 0.9149 MB / 401.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2918, allocations: 5.906 kB / 401.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.345e-05/0.2919, allocations: 64.78 kB / 401.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.2923, allocations: 161.1 kB / 401.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.2927, allocations: 113 kB / 401.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.2953, allocations: 2.513 MB / 404.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.2959, allocations: 32.03 kB / 404.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/0.296, allocations: 32 kB / 404.2 MB, free: 9.074 MB / 318.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.0004638/0.2965, allocations: 276.1 kB / 404.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.2967, allocations: 185.8 kB / 404.7 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.2984, allocations: 0.882 MB / 405.6 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2984, allocations: 4 kB / 405.6 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2984, allocations: 4 kB / 405.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.2984, allocations: 7.984 kB / 405.6 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2995, allocations: 0.8688 MB / 406.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.845e-05/0.2996, allocations: 48 kB / 406.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.2999, allocations: 67.52 kB / 406.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003487/0.3002, allocations: 148.6 kB / 406.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.3003, allocations: 20 kB / 406.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.3028, allocations: 2.504 MB / 409.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3028, allocations: 0 / 409.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.3046, allocations: 1.068 MB / 410.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005216/0.3051, allocations: 246.9 kB / 410.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.3053, allocations: 12 kB / 410.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.3056, allocations: 16.86 kB / 410.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3058, allocations: 48.38 kB / 410.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.3059, allocations: 20 kB / 410.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.307, allocations: 0.8578 MB / 411.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.307, allocations: 0 / 411.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001104/0.3082, allocations: 383.8 kB / 411.9 MB, free: 1.25 MB / 318.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.0007036/0.3089, allocations: 459.2 kB / 412.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.3104, allocations: 0.8329 MB / 413.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3104, allocations: 8.062 kB / 413.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.3113, allocations: 0.5746 MB / 413.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.3122, allocations: 231.2 kB / 414 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.3158, allocations: 2.373 MB / 416.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.3166, allocations: 1.17 MB / 417.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004737/0.3171, allocations: 187.2 kB / 417.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3172, allocations: 87.44 kB / 417.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3172, allocations: 0 / 417.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of Templates: time 0.02499/0.3422, allocations: 13.42 MB / 431.2 MB, free: 13.98 MB / 350.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 -s gbode -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/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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches