Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001069/0.001069, allocations: 108.7 kB / 17.93 MB, free: 5.422 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.0009962/0.0009963, allocations: 193.8 kB / 18.86 MB, free: 4.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001193, allocations: 43.94 kB / 280.8 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 46.63 MB / 327.4 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008683/0.1122, allocations: 7.328 MB / 334.7 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.1249, allocations: 10.27 MB / 345 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.1266, allocations: 39.69 kB / 345.1 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.129, allocations: 0.6217 MB / 345.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004984/0.134, allocations: 0.9837 MB / 346.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.1364, allocations: 0.5771 MB / 347.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004102/0.1405, allocations: 2.49 MB / 349.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005055/0.141, allocations: 291.9 kB / 350 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.1417, allocations: 449.7 kB / 350.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.1422, allocations: 0.5279 MB / 351 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.1423, allocations: 55.94 kB / 351 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.1439, allocations: 0.7026 MB / 351.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.144, allocations: 186.8 kB / 351.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.1446, allocations: 0.6754 MB / 352.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.146, allocations: 1.442 MB / 354 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.146, allocations: 0 / 354 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.146, allocations: 0 / 354 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.146, allocations: 0 / 354 MB, free: 10.05 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.002502/0.1485, allocations: 1.985 MB / 356 MB, free: 8.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.1486, allocations: 8.031 kB / 356 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.1488, allocations: 198.6 kB / 356.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.1505, allocations: 1.341 MB / 357.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1506, allocations: 33 kB / 357.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.761e-05/0.1507, allocations: 47.98 kB / 357.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008904/0.1516, allocations: 0.5119 MB / 358.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1516, allocations: 0 / 358.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.1516, allocations: 20 kB / 358.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.1517, allocations: 19.98 kB / 358.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.1525, allocations: 468.1 kB / 358.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.1553, allocations: 2.108 MB / 360.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/0.1562, allocations: 0.708 MB / 361.5 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000664/0.1569, allocations: 0.5134 MB / 362 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007791/0.1647, allocations: 6.509 MB / 368.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006333/0.1654, allocations: 286.5 kB / 368.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 3.216e-06/0.1654, allocations: 0 / 368.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.003814/0.1692, allocations: 1.963 MB / 370.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1693, allocations: 59.84 kB / 370.8 MB, free: 7.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.1709, allocations: 1.296 MB / 372.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.171, allocations: 33.7 kB / 372.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005388/0.1715, allocations: 0.7111 MB / 372.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.1717, allocations: 205 kB / 373 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.1719, allocations: 122.2 kB / 373.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.172, allocations: 334 kB / 373.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.1724, allocations: 197.5 kB / 373.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.1729, allocations: 371.8 kB / 374 MB, free: 4.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.1751, allocations: 1.131 MB / 375.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1751, allocations: 0 / 375.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001556/0.1766, allocations: 0.9219 MB / 376.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1767, allocations: 4.625 kB / 376.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.928e-05/0.1768, allocations: 60 kB / 376.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.1772, allocations: 163.9 kB / 376.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.1776, allocations: 111.8 kB / 376.4 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1728/0.3505, allocations: 2.517 MB / 378.9 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006717/0.3512, allocations: 26.11 kB / 379 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.3512, allocations: 33.56 kB / 379 MB, free: 52.7 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real 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.0005015/0.3518, allocations: 283.7 kB / 379.3 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.3519, allocations: 184.3 kB / 379.5 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.3538, allocations: 0.8776 MB / 380.3 MB, free: 52.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.3538, allocations: 6.031 kB / 380.3 MB, free: 52.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3538, allocations: 3.094 kB / 380.3 MB, free: 52.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3538, allocations: 2.906 kB / 380.3 MB, free: 52.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.355, allocations: 0.8698 MB / 381.2 MB, free: 52.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.577e-05/0.3551, allocations: 56.08 kB / 381.3 MB, free: 52.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.3554, allocations: 67.95 kB / 381.3 MB, free: 52.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.3558, allocations: 144.7 kB / 381.5 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.3558, allocations: 19.64 kB / 381.5 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.3581, allocations: 2.499 MB / 384 MB, free: 50.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3581, allocations: 6.156 kB / 384 MB, free: 50.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.3599, allocations: 1.067 MB / 385.1 MB, free: 50.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.3603, allocations: 245.4 kB / 385.3 MB, free: 50.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.3604, allocations: 11.73 kB / 385.3 MB, free: 50.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.3608, allocations: 16.67 kB / 385.3 MB, free: 50.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.3609, allocations: 52.36 kB / 385.4 MB, free: 50.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.361, allocations: 22.95 kB / 385.4 MB, free: 50.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0013/0.3623, allocations: 0.8596 MB / 386.3 MB, free: 49.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3623, allocations: 3.562 kB / 386.3 MB, free: 49.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001092/0.3634, allocations: 376.4 kB / 386.6 MB, free: 49.68 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.0007147/0.3641, allocations: 454.5 kB / 387.1 MB, free: 49.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.3657, allocations: 0.858 MB / 387.9 MB, free: 49.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3657, allocations: 0 / 387.9 MB, free: 49.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008562/0.3666, allocations: 0.5859 MB / 388.5 MB, free: 48.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.3672, allocations: 179.5 kB / 388.7 MB, free: 48.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.3708, allocations: 2.886 MB / 391.6 MB, free: 47.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.3715, allocations: 1.172 MB / 392.8 MB, free: 46.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3716, allocations: 85.91 kB / 392.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3716, allocations: 0 / 392.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of Templates: time 0.02855/0.4002, allocations: 23.95 MB / 416.8 MB, free: 26.95 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches