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.001159/0.001159, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001113/0.001113, allocations: 186.9 kB / 19.28 MB, free: 3.879 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.327/1.327, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001144/0.001144, allocations: 55.92 kB / 282.1 MB, free: 2.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0819/0.08305, allocations: 46.62 MB / 328.7 MB, free: 3.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007249/0.09034, allocations: 7.359 MB / 336.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1014, allocations: 10.38 MB / 346.4 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009756/0.1024, allocations: 79.31 kB / 346.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.1041, allocations: 0.6906 MB / 347.2 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.1074, allocations: 1.176 MB / 348.4 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.1091, allocations: 0.6623 MB / 349.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00346/0.1126, allocations: 2.494 MB / 351.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.113, allocations: 279.9 kB / 351.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.1135, allocations: 469.6 kB / 352.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/0.114, allocations: 0.524 MB / 352.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.085e-05/0.1141, allocations: 59.94 kB / 352.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.1155, allocations: 0.6987 MB / 353.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1157, allocations: 182.8 kB / 353.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.1162, allocations: 0.6754 MB / 354.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.1182, allocations: 1.934 MB / 356.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1183, allocations: 0 / 356.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1183, allocations: 0 / 356.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.1183, allocations: 0 / 356.3 MB, free: 7.996 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.002586/0.1209, allocations: 1.981 MB / 358.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1209, allocations: 8.031 kB / 358.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.1211, allocations: 206.5 kB / 358.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.1229, allocations: 1.345 MB / 359.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.123, allocations: 33 kB / 359.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/0.1231, allocations: 44 kB / 360 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.1239, allocations: 0.508 MB / 360.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1239, allocations: 0 / 360.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.124, allocations: 16 kB / 360.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.124, allocations: 19.98 kB / 360.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/0.1249, allocations: 476.1 kB / 361 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.1278, allocations: 2.096 MB / 363.1 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.1287, allocations: 0.7001 MB / 363.8 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007042/0.1294, allocations: 0.5136 MB / 364.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007291/0.1367, allocations: 6.509 MB / 370.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005564/0.1373, allocations: 294.4 kB / 371.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 2.494e-06/0.1373, allocations: 7.938 kB / 371.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.003466/0.1408, allocations: 1.956 MB / 373 MB, free: 6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1408, allocations: 55.84 kB / 373.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.1423, allocations: 1.296 MB / 374.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.1423, allocations: 37.69 kB / 374.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/0.1429, allocations: 0.7189 MB / 375.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.1431, allocations: 197 kB / 375.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.1432, allocations: 126.2 kB / 375.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1434, allocations: 330 kB / 375.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.1438, allocations: 193.5 kB / 376 MB, free: 3.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.1443, allocations: 363.8 kB / 376.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.1465, allocations: 1.135 MB / 377.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1465, allocations: 0 / 377.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001471/0.148, allocations: 0.9261 MB / 378.4 MB, free: 480 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.148, allocations: 8 kB / 378.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.736e-05/0.1481, allocations: 55.98 kB / 378.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003842/0.1485, allocations: 157.1 kB / 378.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.1489, allocations: 111.8 kB / 378.7 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1421/0.291, allocations: 2.512 MB / 381.2 MB, free: 53.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000589/0.2917, allocations: 25.92 kB / 381.2 MB, free: 53.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.2917, allocations: 35.62 kB / 381.3 MB, free: 53.5 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.0004185/0.2922, allocations: 280 kB / 381.6 MB, free: 53.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.2923, allocations: 184.9 kB / 381.7 MB, free: 53.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.2941, allocations: 0.8799 MB / 382.6 MB, free: 52.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2941, allocations: 5.688 kB / 382.6 MB, free: 52.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2942, allocations: 7.531 kB / 382.6 MB, free: 52.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.2942, allocations: 4.406 kB / 382.6 MB, free: 52.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008747/0.2951, allocations: 0.8627 MB / 383.5 MB, free: 52.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-05/0.2951, allocations: 60.23 kB / 383.6 MB, free: 52.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.2954, allocations: 64.61 kB / 383.6 MB, free: 52.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003431/0.2958, allocations: 148.5 kB / 383.8 MB, free: 52.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.2958, allocations: 21.34 kB / 383.8 MB, free: 52.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.298, allocations: 2.497 MB / 386.3 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.298, allocations: 0 / 386.3 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.2996, allocations: 1.063 MB / 387.3 MB, free: 50.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.2999, allocations: 250.5 kB / 387.6 MB, free: 49.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.3001, allocations: 9.094 kB / 387.6 MB, free: 49.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.3004, allocations: 20.72 kB / 387.6 MB, free: 49.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3006, allocations: 47.86 kB / 387.7 MB, free: 49.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.3006, allocations: 25.86 kB / 387.7 MB, free: 49.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.3017, allocations: 0.8599 MB / 388.5 MB, free: 49.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3017, allocations: 1.156 kB / 388.6 MB, free: 49.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008352/0.3025, allocations: 377.9 kB / 388.9 MB, free: 49.52 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.0006693/0.3032, allocations: 458.5 kB / 389.4 MB, free: 49.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.3046, allocations: 0.8444 MB / 390.2 MB, free: 48.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3047, allocations: 1.219 kB / 390.2 MB, free: 48.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008577/0.3055, allocations: 0.5774 MB / 390.8 MB, free: 48.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.3062, allocations: 187.7 kB / 391 MB, free: 48.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.309, allocations: 2.388 MB / 393.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.3096, allocations: 1.169 MB / 394.5 MB, free: 46.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004588/0.31, allocations: 184 kB / 394.7 MB, free: 46.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3102, allocations: 83 kB / 394.8 MB, free: 46.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3102, allocations: 0 / 394.8 MB, free: 46.54 MB / 318.1 MB Notification: Performance of Templates: time 0.01972/0.3299, allocations: 13.37 MB / 408.2 MB, free: 36.97 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches