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.001147/0.001147, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001383/0.001384, allocations: 182 kB / 17.56 MB, free: 6.203 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.394/1.394, allocations: 223.3 MB / 241.6 MB, free: 124 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 9.625 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1091, allocations: 50.42 MB / 351.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006062/0.1152, allocations: 7.023 MB / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.1267, allocations: 10.81 MB / 369.7 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005953/0.1273, allocations: 39.62 kB / 369.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.1288, allocations: 0.6257 MB / 370.3 MB, free: 1.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.1312, allocations: 0.968 MB / 371.3 MB, free: 160 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1601/0.2914, allocations: 490.6 kB / 371.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003668/0.2951, allocations: 2.461 MB / 374.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.2955, allocations: 257.3 kB / 374.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.296, allocations: 455.3 kB / 374.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.2964, allocations: 0.5028 MB / 375.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.2965, allocations: 30.75 kB / 375.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.2982, allocations: 0.7432 MB / 376.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.2983, allocations: 163.7 kB / 376.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004746/0.2988, allocations: 0.6695 MB / 377 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.3008, allocations: 1.873 MB / 378.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3008, allocations: 0 / 378.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3008, allocations: 0 / 378.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.3008, allocations: 0 / 378.9 MB, free: 9.254 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.002338/0.3032, allocations: 1.756 MB / 380.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3032, allocations: 9.484 kB / 380.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.3034, allocations: 194.4 kB / 380.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.3051, allocations: 1.346 MB / 382.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.3052, allocations: 35.12 kB / 382.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.3053, allocations: 51.11 kB / 382.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009702/0.3062, allocations: 0.5252 MB / 382.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3063, allocations: 0 / 382.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.3063, allocations: 18.78 kB / 382.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.3063, allocations: 17.77 kB / 382.9 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009232/0.3073, allocations: 493.2 kB / 383.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.31, allocations: 2.103 MB / 385.4 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008992/0.3109, allocations: 0.729 MB / 386.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007101/0.3116, allocations: 0.5306 MB / 386.7 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005998/0.3176, allocations: 6.54 MB / 393.2 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000494/0.3181, allocations: 305.5 kB / 393.5 MB, free: 412 kB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 2.134e-06/0.3181, allocations: 0 / 393.5 MB, free: 412 kB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.003611/0.3218, allocations: 2.012 MB / 395.5 MB, free: 15.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3218, allocations: 67.91 kB / 395.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.3233, allocations: 1.297 MB / 396.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.3234, allocations: 40.31 kB / 397 MB, free: 14.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.324, allocations: 0.7097 MB / 397.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.3242, allocations: 199.3 kB / 397.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.3242, allocations: 57.5 kB / 397.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3244, allocations: 335.4 kB / 398.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.3248, allocations: 212 kB / 398.4 MB, free: 13.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.3253, allocations: 379 kB / 398.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/0.3263, allocations: 0.6111 MB / 399.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3263, allocations: 0 / 399.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001523/0.3278, allocations: 0.9425 MB / 400.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3278, allocations: 6.344 kB / 400.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.092e-05/0.3279, allocations: 64.12 kB / 400.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000372/0.3283, allocations: 156.1 kB / 400.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.3287, allocations: 119.5 kB / 400.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.3312, allocations: 2.303 MB / 403 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.3317, allocations: 34.44 kB / 403 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.3318, allocations: 37.77 kB / 403.1 MB, free: 10 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.0003818/0.3321, allocations: 274.8 kB / 403.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.3323, allocations: 183.2 kB / 403.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.3341, allocations: 0.8982 MB / 404.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3342, allocations: 11.94 kB / 404.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3342, allocations: 7.984 kB / 404.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3342, allocations: 0 / 404.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.3352, allocations: 0.8633 MB / 405.3 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.64e-05/0.3353, allocations: 59.98 kB / 405.4 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.3356, allocations: 63.95 kB / 405.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/0.3359, allocations: 148.7 kB / 405.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.336, allocations: 16 kB / 405.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.3383, allocations: 2.3 MB / 407.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3383, allocations: 7.938 kB / 407.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.3401, allocations: 1.096 MB / 409 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.3404, allocations: 247 kB / 409.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3405, allocations: 8 kB / 409.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.3409, allocations: 27.98 kB / 409.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.341, allocations: 48.31 kB / 409.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.3411, allocations: 24 kB / 409.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009444/0.342, allocations: 0.8578 MB / 410.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.342, allocations: 4 kB / 410.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009487/0.343, allocations: 371.8 kB / 410.6 MB, free: 2.418 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.0007164/0.3437, allocations: 466.5 kB / 411 MB, free: 2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.3452, allocations: 0.8678 MB / 411.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3453, allocations: 0 / 411.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.3462, allocations: 0.5903 MB / 412.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/0.3471, allocations: 194.2 kB / 412.7 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.3509, allocations: 2.931 MB / 415.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/0.3517, allocations: 1.17 MB / 416.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005969/0.3523, allocations: 187.2 kB / 417 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.3524, allocations: 83.44 kB / 417 MB, free: 11.86 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3524, allocations: 0 / 417 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Templates: time 0.02362/0.3761, allocations: 12.87 MB / 429.9 MB, free: 15.1 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 -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