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.001462/0.001462, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.67 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003607/0.1122, allocations: 2.711 MB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1134, allocations: 0.705 MB / 362.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1135, allocations: 7.938 kB / 362.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.1137, allocations: 47.56 kB / 362.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1139, allocations: 87.25 kB / 362.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1142, allocations: 95.81 kB / 362.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.1146, allocations: 338.5 kB / 362.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.1149, allocations: 121.6 kB / 363 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.1152, allocations: 127.6 kB / 363.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1154, allocations: 143.4 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.1154, allocations: 31.94 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.1155, allocations: 24 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.1156, allocations: 63.77 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.1157, allocations: 147.3 kB / 363.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.116, allocations: 314.9 kB / 363.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.116, allocations: 7.875 kB / 363.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.116, allocations: 0 / 363.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.116, allocations: 0 / 363.8 MB, free: 8.363 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.0009985/0.117, allocations: 0.5927 MB / 364.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1171, allocations: 8.031 kB / 364.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.1172, allocations: 32.56 kB / 364.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.1175, allocations: 255.8 kB / 364.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1175, allocations: 20.94 kB / 364.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.1176, allocations: 28.38 kB / 364.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.1181, allocations: 279.9 kB / 365 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1181, allocations: 0 / 365 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1181, allocations: 12 kB / 365.1 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1182, allocations: 8 kB / 365.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.1186, allocations: 206.1 kB / 365.3 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.1201, allocations: 1.007 MB / 366.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.1205, allocations: 190.5 kB / 366.5 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.1209, allocations: 156.8 kB / 366.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1209, allocations: 4 kB / 366.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.121, allocations: 30.56 kB / 366.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.121, allocations: 0 / 366.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001556/0.1225, allocations: 0.5607 MB / 367.2 MB, free: 4.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1226, allocations: 55.31 kB / 367.3 MB, free: 4.707 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1228, allocations: 233 kB / 367.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1228, allocations: 29.7 kB / 367.5 MB, free: 4.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.123, allocations: 175.8 kB / 367.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.123, allocations: 67.09 kB / 367.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.1231, allocations: 45.7 kB / 367.8 MB, free: 4.133 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1232, allocations: 330.8 kB / 368.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1234, allocations: 71.97 kB / 368.2 MB, free: 3.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.1236, allocations: 130.8 kB / 368.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.1239, allocations: 210.3 kB / 368.5 MB, free: 3.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1239, allocations: 0 / 368.5 MB, free: 3.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007545/0.1247, allocations: 358 kB / 368.9 MB, free: 2.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1247, allocations: 7.984 kB / 368.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1247, allocations: 4 kB / 368.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.1251, allocations: 76.81 kB / 369 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.1253, allocations: 51.97 kB / 369 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.1278, allocations: 2.001 MB / 371 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.128, allocations: 35.78 kB / 371.1 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.128, allocations: 12 kB / 371.1 MB, free: 0.6602 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.0001267/0.1282, allocations: 141.7 kB / 371.2 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.1282, allocations: 19.75 kB / 371.2 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.1282, allocations: 26.19 kB / 371.2 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1283, allocations: 0 / 371.2 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1283, allocations: 0 / 371.2 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1283, allocations: 3.984 kB / 371.2 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1619/0.2902, allocations: 0.6573 MB / 371.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2902, allocations: 2.469 kB / 371.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.2904, allocations: 32.5 kB / 371.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.2907, allocations: 75.58 kB / 372 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.2908, allocations: 7.828 kB / 372 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.2928, allocations: 1.913 MB / 373.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2929, allocations: 4.656 kB / 373.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008989/0.2938, allocations: 463.7 kB / 374.4 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.2938, allocations: 96.98 kB / 374.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.2939, allocations: 5.031 kB / 374.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2941, allocations: 21.92 kB / 374.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.2941, allocations: 11.02 kB / 374.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2941, allocations: 8.203 kB / 374.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.2943, allocations: 165.7 kB / 374.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2943, allocations: 3.75 kB / 374.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004685/0.2948, allocations: 79.16 kB / 374.8 MB, free: 18.23 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.0001263/0.2949, allocations: 101.6 kB / 374.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008729/0.2958, allocations: 376.5 kB / 375.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2958, allocations: 0 / 375.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.2961, allocations: 207.5 kB / 375.4 MB, free: 17.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2965, allocations: 46.14 kB / 375.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.2988, allocations: 0.8599 MB / 376.4 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.299, allocations: 0.75 MB / 377.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.969e-05/0.2991, allocations: 19.02 kB / 377.1 MB, free: 16.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.2991, allocations: 21.06 kB / 377.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2991, allocations: 0 / 377.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of Templates: time 0.007018/0.3061, allocations: 2.891 MB / 380 MB, free: 16.79 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 -s gbode -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.0.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