Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 101.9 kB / 17.59 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 187.3 kB / 18.51 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 42.25 kB / 301.3 MB, free: 5.812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09415/0.09548, allocations: 49.46 MB / 350.7 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004545/0.1001, allocations: 2.691 MB / 353.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1017, allocations: 0.67 MB / 354.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.102, allocations: 8 kB / 354.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.1023, allocations: 47.5 kB / 354.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.1026, allocations: 87.2 kB / 354.2 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1029, allocations: 91.8 kB / 354.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.1034, allocations: 330.5 kB / 354.7 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.1037, allocations: 117.7 kB / 354.8 MB, free: 300 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.1039, allocations: 127.5 kB / 354.9 MB, free: 172 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1042, allocations: 147.4 kB / 355 MB, free: 24 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.1042, allocations: 28.05 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.1043, allocations: 24 kB / 355.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.1044, allocations: 59.77 kB / 355.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.1046, allocations: 151.2 kB / 355.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.105, allocations: 307.2 kB / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.105, allocations: 3.984 kB / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1051, allocations: 0 / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1051, allocations: 0 / 355.6 MB, free: 15.46 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.001156/0.1062, allocations: 0.5926 MB / 356.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1063, allocations: 11.89 kB / 356.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.558e-05/0.1064, allocations: 36.56 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1067, allocations: 264.2 kB / 356.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.1068, allocations: 16.94 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.1068, allocations: 20.38 kB / 356.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.1074, allocations: 284 kB / 356.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1074, allocations: 0 / 356.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.1074, allocations: 12 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1075, allocations: 8 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.1079, allocations: 210.1 kB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.1096, allocations: 1.003 MB / 358 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.1102, allocations: 190.5 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.1106, allocations: 168.6 kB / 358.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1106, allocations: 0 / 358.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1107, allocations: 38.56 kB / 358.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.785e-06/0.1107, allocations: 7.984 kB / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001851/0.1125, allocations: 0.55 MB / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1126, allocations: 59.34 kB / 359 MB, free: 11.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1129, allocations: 232.9 kB / 359.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1129, allocations: 29.7 kB / 359.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.113, allocations: 179.8 kB / 359.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.1131, allocations: 63.09 kB / 359.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.1132, allocations: 45.7 kB / 359.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1133, allocations: 338.8 kB / 359.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.1135, allocations: 67.97 kB / 360 MB, free: 10.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1138, allocations: 127.3 kB / 360.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.1142, allocations: 210.7 kB / 360.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1142, allocations: 0 / 360.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000875/0.1151, allocations: 355.5 kB / 360.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1151, allocations: 8 kB / 360.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1151, allocations: 4.062 kB / 360.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.1155, allocations: 76.8 kB / 360.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1157, allocations: 51.91 kB / 360.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.1187, allocations: 2.001 MB / 362.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1189, allocations: 39.67 kB / 362.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1189, allocations: 8 kB / 362.8 MB, free: 7.742 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.0001458/0.1191, allocations: 145.6 kB / 363 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.1191, allocations: 19.81 kB / 363 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.1192, allocations: 26.17 kB / 363 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1192, allocations: 8.062 kB / 363 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.1192, allocations: 0 / 363 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1192, allocations: 0 / 363 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1204, allocations: 0.6576 MB / 363.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1204, allocations: 0 / 363.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.1206, allocations: 35.92 kB / 363.7 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.1209, allocations: 76.8 kB / 363.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1209, allocations: 8 kB / 363.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.1233, allocations: 1.92 MB / 365.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1233, allocations: 4.031 kB / 365.7 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.1242, allocations: 455.8 kB / 366.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.1243, allocations: 100.8 kB / 366.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1244, allocations: 4 kB / 366.3 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1246, allocations: 24.05 kB / 366.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.1246, allocations: 15.92 kB / 366.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1246, allocations: 11.92 kB / 366.3 MB, free: 4.008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1248, allocations: 168.4 kB / 366.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1248, allocations: 0 / 366.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.1252, allocations: 75.84 kB / 366.6 MB, free: 3.773 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.0001508/0.1254, allocations: 107.2 kB / 366.7 MB, free: 3.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009604/0.1263, allocations: 372.3 kB / 367 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1264, allocations: 0 / 367 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.1267, allocations: 209.6 kB / 367.3 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.1272, allocations: 36.64 kB / 367.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.1297, allocations: 0.8833 MB / 368.2 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.13, allocations: 0.7557 MB / 368.9 MB, free: 1.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.1301, allocations: 19.44 kB / 368.9 MB, free: 1.301 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1301, allocations: 0 / 368.9 MB, free: 1.301 MB / 302.1 MB Notification: Performance of Templates: time 0.1693/0.2994, allocations: 3.726 MB / 372.7 MB, free: 24.54 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches