Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00168/0.001681, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 59.88 kB / 307.1 MB, free: 0.8984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.114, allocations: 50.55 MB / 357.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004322/0.1184, allocations: 2.753 MB / 360.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1198, allocations: 0.7089 MB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1199, allocations: 4 kB / 361.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.1201, allocations: 31.7 kB / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1203, allocations: 75.44 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1206, allocations: 71.92 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.1211, allocations: 342.4 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.1213, allocations: 117.7 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.1216, allocations: 135.5 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1218, allocations: 139.3 kB / 362.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.1218, allocations: 28 kB / 362.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.544e-05/0.1219, allocations: 28 kB / 362.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.1219, allocations: 63.77 kB / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1221, allocations: 143.3 kB / 362.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.1224, allocations: 235.7 kB / 362.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1224, allocations: 3.938 kB / 362.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1224, allocations: 0 / 362.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1224, allocations: 0 / 362.5 MB, free: 9.484 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0011/0.1235, allocations: 0.5913 MB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1235, allocations: 8.031 kB / 363.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.1236, allocations: 36.56 kB / 363.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.124, allocations: 259.8 kB / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.124, allocations: 16.94 kB / 363.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.124, allocations: 28.31 kB / 363.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.1246, allocations: 276 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1246, allocations: 3.984 kB / 363.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.1247, allocations: 15.94 kB / 363.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1247, allocations: 8 kB / 363.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.1251, allocations: 206.1 kB / 364 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.1269, allocations: 1.011 MB / 365 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.1275, allocations: 190.5 kB / 365.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.1279, allocations: 152.8 kB / 365.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1279, allocations: 0 / 365.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.128, allocations: 42.55 kB / 365.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 9.62e-07/0.128, allocations: 4 kB / 365.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001769/0.1298, allocations: 0.5531 MB / 365.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1298, allocations: 59.31 kB / 366 MB, free: 5.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.1301, allocations: 229 kB / 366.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.1301, allocations: 25.7 kB / 366.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1303, allocations: 175.8 kB / 366.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.1304, allocations: 67.08 kB / 366.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.1305, allocations: 45.7 kB / 366.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1306, allocations: 334.8 kB / 366.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.1309, allocations: 67.95 kB / 366.9 MB, free: 4.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1311, allocations: 134.8 kB / 367 MB, free: 4.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.1315, allocations: 205.8 kB / 367.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1315, allocations: 0 / 367.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008861/0.1324, allocations: 353.9 kB / 367.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1324, allocations: 8.062 kB / 367.6 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1325, allocations: 8 kB / 367.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.1329, allocations: 76.8 kB / 367.7 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1331, allocations: 47.92 kB / 367.7 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/0.1363, allocations: 2.009 MB / 369.7 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1365, allocations: 35.67 kB / 369.8 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.1366, allocations: 8 kB / 369.8 MB, free: 1.777 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.1367, allocations: 145.2 kB / 369.9 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.1368, allocations: 19.81 kB / 369.9 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.1369, allocations: 26.17 kB / 370 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1369, allocations: 8.062 kB / 370 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1369, allocations: 0 / 370 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1369, allocations: 4.031 kB / 370 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.1381, allocations: 0.6513 MB / 370.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1381, allocations: 4 kB / 370.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.1383, allocations: 35.97 kB / 370.7 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.1386, allocations: 72.81 kB / 370.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1386, allocations: 11.98 kB / 370.7 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1914/0.33, allocations: 1.908 MB / 372.6 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.33, allocations: 1.094 kB / 372.7 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.331, allocations: 461.8 kB / 373.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.3311, allocations: 101.9 kB / 373.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.3311, allocations: 4.797 kB / 373.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.3313, allocations: 20.16 kB / 373.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.3314, allocations: 10 kB / 373.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3314, allocations: 12.09 kB / 373.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.3316, allocations: 167.9 kB / 373.4 MB, free: 18.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3316, allocations: 0 / 373.4 MB, free: 18.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000453/0.332, allocations: 76.95 kB / 373.5 MB, free: 18.56 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.3322, allocations: 98.86 kB / 373.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.3333, allocations: 378 kB / 374 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3333, allocations: 0 / 374 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.3336, allocations: 209.2 kB / 374.2 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.3341, allocations: 41.98 kB / 374.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.3365, allocations: 0.9905 MB / 375.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.3367, allocations: 0.7467 MB / 375.9 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.3368, allocations: 23.28 kB / 376 MB, free: 17.15 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3368, allocations: 0.5625 kB / 376 MB, free: 17.15 MB / 302.1 MB Notification: Performance of Templates: time 0.007377/0.3442, allocations: 3.729 MB / 379.7 MB, free: 16.92 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches