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.0009368/0.0009367, allocations: 96.83 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009727/0.0009727, allocations: 198 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000245/0.000245, allocations: 8 kB / 306.6 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.11, allocations: 51.49 MB / 358.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002588/0.1126, allocations: 2.166 MB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1138, allocations: 0.694 MB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1139, allocations: 7.938 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.265e-05/0.114, allocations: 31.75 kB / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1142, allocations: 107.7 kB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.1145, allocations: 71.8 kB / 361.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1148, allocations: 227.5 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.115, allocations: 77.69 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1152, allocations: 115.6 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1154, allocations: 119.5 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.1154, allocations: 16 kB / 361.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-05/0.1154, allocations: 16 kB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.1155, allocations: 35.84 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.1156, allocations: 85.5 kB / 361.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1158, allocations: 219.6 kB / 362 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1158, allocations: 0 / 362 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1158, allocations: 0 / 362 MB, free: 9.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1158, allocations: 4 kB / 362.1 MB, free: 9.902 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.000898/0.1167, allocations: 0.5574 MB / 362.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1168, allocations: 8.031 kB / 362.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.1168, allocations: 27.72 kB / 362.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.1171, allocations: 258.4 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1172, allocations: 20.52 kB / 362.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1172, allocations: 24 kB / 362.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.1177, allocations: 271.7 kB / 363.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1177, allocations: 8 kB / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1178, allocations: 8 kB / 363.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1178, allocations: 8 kB / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.1182, allocations: 210.1 kB / 363.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.1198, allocations: 1.019 MB / 364.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.1202, allocations: 194.5 kB / 364.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1203, allocations: 0 / 364.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1203, allocations: 38.56 kB / 364.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.1203, allocations: 0 / 364.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001753/0.1221, allocations: 0.6008 MB / 365.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.1221, allocations: 59.36 kB / 365.3 MB, free: 6.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1224, allocations: 233 kB / 365.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1224, allocations: 29.7 kB / 365.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1225, allocations: 175.8 kB / 365.8 MB, free: 5.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.1226, allocations: 63.09 kB / 365.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.1226, allocations: 4 kB / 365.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1227, allocations: 330.8 kB / 366.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1229, allocations: 75.91 kB / 366.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.1231, allocations: 135 kB / 366.4 MB, free: 5.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.1233, allocations: 91.91 kB / 366.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1233, allocations: 0 / 366.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007958/0.1241, allocations: 368.4 kB / 366.8 MB, free: 4.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1242, allocations: 4 kB / 366.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1242, allocations: 7.984 kB / 366.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.1246, allocations: 84.81 kB / 366.9 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.1248, allocations: 47.91 kB / 367 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.1275, allocations: 1.889 MB / 368.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1277, allocations: 31.73 kB / 368.9 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.1277, allocations: 12.06 kB / 368.9 MB, free: 2.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.1278, allocations: 140.1 kB / 369 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.1279, allocations: 19.81 kB / 369 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.128, allocations: 26.17 kB / 369.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.128, allocations: 4 kB / 369.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.128, allocations: 3.938 kB / 369.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.128, allocations: 0 / 369.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.1283, allocations: 301.4 kB / 369.4 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1283, allocations: 8 kB / 369.4 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1285, allocations: 27.98 kB / 369.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.1288, allocations: 76.8 kB / 369.5 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1288, allocations: 12 kB / 369.5 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.1311, allocations: 1.788 MB / 371.3 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1311, allocations: 0 / 371.3 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2095/0.3406, allocations: 470.7 kB / 371.7 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3408, allocations: 98.22 kB / 371.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.3408, allocations: 3.891 kB / 371.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.3411, allocations: 26.62 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.3411, allocations: 11.83 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3412, allocations: 5.672 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3413, allocations: 166.4 kB / 372 MB, free: 19.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3414, allocations: 0.9375 kB / 372 MB, free: 19.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004987/0.3419, allocations: 75.55 kB / 372.1 MB, free: 19.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001748/0.342, allocations: 106.3 kB / 372.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3431, allocations: 384.3 kB / 372.6 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.3431, allocations: 0 / 372.6 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.3435, allocations: 217.5 kB / 372.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.3438, allocations: 38.11 kB / 372.8 MB, free: 18.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.3468, allocations: 1.029 MB / 373.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3472, allocations: 0.7569 MB / 374.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.3473, allocations: 21.77 kB / 374.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.3473, allocations: 18.56 kB / 374.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3473, allocations: 3.828 kB / 374.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of Templates: time 0.00927/0.3566, allocations: 2.587 MB / 377.3 MB, free: 17.59 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches