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.0007365/0.0007366, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008347/0.0008348, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003507, allocations: 8 kB / 308.4 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00262/0.1203, allocations: 2.387 MB / 362.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1216, allocations: 0.7051 MB / 363 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.1217, allocations: 4 kB / 363 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.1219, allocations: 35.69 kB / 363.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1221, allocations: 75.45 kB / 363.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1223, allocations: 63.94 kB / 363.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.1227, allocations: 334.5 kB / 363.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.1229, allocations: 98.2 kB / 363.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.1231, allocations: 115.5 kB / 363.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1233, allocations: 119.3 kB / 363.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.1234, allocations: 16 kB / 363.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.754e-05/0.1234, allocations: 20 kB / 363.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.1235, allocations: 43.77 kB / 363.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1236, allocations: 161 kB / 364.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1238, allocations: 231.6 kB / 364.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1238, allocations: 0 / 364.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1238, allocations: 0 / 364.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1239, allocations: 0 / 364.3 MB, free: 8.898 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.0008374/0.1247, allocations: 0.542 MB / 364.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1247, allocations: 8.031 kB / 364.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.1248, allocations: 32.56 kB / 364.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1251, allocations: 263.9 kB / 365.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1251, allocations: 16.94 kB / 365.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.1252, allocations: 24.38 kB / 365.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.1257, allocations: 284 kB / 365.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1257, allocations: 0 / 365.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.1258, allocations: 12 kB / 365.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1258, allocations: 4 kB / 365.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.1262, allocations: 214.1 kB / 365.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.1278, allocations: 1.027 MB / 366.7 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.1282, allocations: 190.5 kB / 366.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.1286, allocations: 164.8 kB / 367.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1287, allocations: 4 kB / 367.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1287, allocations: 42.5 kB / 367.1 MB, free: 5.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.1287, allocations: 0 / 367.1 MB, free: 5.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00191/0.1306, allocations: 0.5957 MB / 367.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1307, allocations: 51.41 kB / 367.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.1309, allocations: 236.9 kB / 368 MB, free: 4.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1309, allocations: 29.7 kB / 368 MB, free: 4.934 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1311, allocations: 183.8 kB / 368.2 MB, free: 4.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.1311, allocations: 55.2 kB / 368.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.1312, allocations: 29.7 kB / 368.3 MB, free: 4.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1313, allocations: 326.8 kB / 368.6 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.1315, allocations: 71.95 kB / 368.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.1317, allocations: 134.8 kB / 368.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.1321, allocations: 206.8 kB / 369 MB, free: 3.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1321, allocations: 0 / 369 MB, free: 3.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008675/0.133, allocations: 373.9 kB / 369.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.133, allocations: 12.06 kB / 369.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.133, allocations: 0 / 369.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.1334, allocations: 76.8 kB / 369.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.1336, allocations: 55.97 kB / 369.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.1363, allocations: 1.861 MB / 371.4 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.1365, allocations: 31.72 kB / 371.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.1365, allocations: 8 kB / 371.4 MB, free: 1.316 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.0001278/0.1366, allocations: 145.7 kB / 371.5 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.1367, allocations: 27.66 kB / 371.6 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.1367, allocations: 26.12 kB / 371.6 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1367, allocations: 64 / 371.6 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1368, allocations: 4 kB / 371.6 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1368, allocations: 7.984 kB / 371.6 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.1379, allocations: 0.6553 MB / 372.3 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.138, allocations: 4 kB / 372.3 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.1381, allocations: 35.98 kB / 372.3 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/0.1384, allocations: 84.73 kB / 372.4 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1384, allocations: 4 kB / 372.4 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1666/0.305, allocations: 1.761 MB / 374.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3051, allocations: 1 kB / 374.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3061, allocations: 475.7 kB / 374.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.3062, allocations: 102.7 kB / 374.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.3062, allocations: 1.984 kB / 374.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.3065, allocations: 30.56 kB / 374.8 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.3065, allocations: 10.08 kB / 374.8 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3065, allocations: 7.422 kB / 374.8 MB, free: 17.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.3067, allocations: 169 kB / 374.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3067, allocations: 3.188 kB / 374.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004684/0.3072, allocations: 72.97 kB / 375 MB, free: 17.57 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.0001416/0.3073, allocations: 109.9 kB / 375.1 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009695/0.3083, allocations: 387.7 kB / 375.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3083, allocations: 0 / 375.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.3086, allocations: 209.9 kB / 375.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.3091, allocations: 39.97 kB / 375.7 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.3117, allocations: 1.089 MB / 376.8 MB, free: 16.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3119, allocations: 0.7507 MB / 377.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.312, allocations: 19.81 kB / 377.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of SimCode: time 1.062e-06/0.312, allocations: 0 / 377.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of Templates: time 0.007398/0.3194, allocations: 3.697 MB / 381.3 MB, free: 15.88 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.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