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.001487/0.001487, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001741/0.001741, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 58.53 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003842/0.1077, allocations: 2.711 MB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.109, allocations: 0.7011 MB / 362.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1091, allocations: 4 kB / 362.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.1093, allocations: 43.52 kB / 362.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1094, allocations: 87.25 kB / 362.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1097, allocations: 95.8 kB / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.11, allocations: 342.5 kB / 362.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1103, allocations: 121.6 kB / 363 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1105, allocations: 131.5 kB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1107, allocations: 143.4 kB / 363.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.1108, allocations: 24 kB / 363.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.58e-05/0.1108, allocations: 28 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.1109, allocations: 59.77 kB / 363.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.111, allocations: 143.3 kB / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1113, allocations: 314.9 kB / 363.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1114, allocations: 4 kB / 363.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1114, allocations: 0 / 363.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.1114, allocations: 0 / 363.8 MB, free: 8.375 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.0009611/0.1123, allocations: 0.5888 MB / 364.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1124, allocations: 19.97 kB / 364.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.1125, allocations: 32.56 kB / 364.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1129, allocations: 263.7 kB / 364.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.1129, allocations: 20.94 kB / 364.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.1129, allocations: 28.31 kB / 364.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.1134, allocations: 284 kB / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1134, allocations: 0 / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1135, allocations: 16 kB / 365.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1135, allocations: 4 kB / 365.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.1139, allocations: 210.1 kB / 365.3 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.1153, allocations: 1.003 MB / 366.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.1158, allocations: 190.4 kB / 366.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.1161, allocations: 156.8 kB / 366.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1162, allocations: 0 / 366.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1162, allocations: 38.56 kB / 366.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.1162, allocations: 0 / 366.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001596/0.1178, allocations: 0.5565 MB / 367.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1179, allocations: 55.31 kB / 367.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.1181, allocations: 233 kB / 367.5 MB, free: 4.457 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1181, allocations: 33.7 kB / 367.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.872e-05/0.1182, allocations: 175.8 kB / 367.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.1183, allocations: 63.09 kB / 367.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.1183, allocations: 45.7 kB / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1185, allocations: 334.8 kB / 368.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.1186, allocations: 67.91 kB / 368.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1188, allocations: 126.8 kB / 368.3 MB, free: 3.574 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.1192, allocations: 214.3 kB / 368.5 MB, free: 3.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1192, allocations: 0 / 368.5 MB, free: 3.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007836/0.12, allocations: 358 kB / 368.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.12, allocations: 4 kB / 368.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.12, allocations: 7.938 kB / 368.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/0.1204, allocations: 80.86 kB / 369 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1206, allocations: 51.91 kB / 369 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.1232, allocations: 1.998 MB / 371 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.1234, allocations: 35.7 kB / 371.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.1234, allocations: 8 kB / 371.1 MB, free: 0.6562 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.0001212/0.1235, allocations: 149.8 kB / 371.2 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.1236, allocations: 15.81 kB / 371.2 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.1236, allocations: 30.17 kB / 371.3 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1236, allocations: 0 / 371.3 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1236, allocations: 3.938 kB / 371.3 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1237, allocations: 0 / 371.3 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.171/0.2947, allocations: 0.6542 MB / 371.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/0.2947, allocations: 0 / 371.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.2949, allocations: 32.25 kB / 372 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003193/0.2952, allocations: 76.22 kB / 372 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2953, allocations: 4.828 kB / 372 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.2974, allocations: 1.919 MB / 374 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2975, allocations: 1.031 kB / 374 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.2984, allocations: 462.6 kB / 374.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.2984, allocations: 101.9 kB / 374.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.2985, allocations: 4.891 kB / 374.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.2987, allocations: 22.17 kB / 374.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.2987, allocations: 13.88 kB / 374.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2987, allocations: 4.766 kB / 374.6 MB, free: 18.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.2989, allocations: 167 kB / 374.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2989, allocations: 1.156 kB / 374.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.2994, allocations: 73.98 kB / 374.8 MB, free: 18.24 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.0001154/0.2995, allocations: 108.8 kB / 374.9 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008935/0.3004, allocations: 372.3 kB / 375.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3004, allocations: 4.953 kB / 375.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.3007, allocations: 211.7 kB / 375.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3011, allocations: 34.7 kB / 375.5 MB, free: 17.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.3034, allocations: 0.8639 MB / 376.4 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.3036, allocations: 0.7452 MB / 377.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.367e-05/0.3037, allocations: 24.08 kB / 377.1 MB, free: 16.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.3037, allocations: 18.44 kB / 377.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3037, allocations: 0 / 377.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of Templates: time 0.00683/0.3106, allocations: 2.889 MB / 380 MB, free: 16.78 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 cvode -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