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.001655/0.001655, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001606/0.001606, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 48.3 kB / 300 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 49.45 MB / 349.4 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00382/0.109, allocations: 2.737 MB / 352.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1101, allocations: 0.6622 MB / 352.8 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1102, allocations: 4 kB / 352.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.1104, allocations: 35.7 kB / 352.9 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1106, allocations: 75.44 kB / 352.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1109, allocations: 75.92 kB / 353 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.1113, allocations: 330.5 kB / 353.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.1115, allocations: 94.27 kB / 353.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.1118, allocations: 123.5 kB / 353.5 MB, free: 480 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.112, allocations: 131.3 kB / 353.7 MB, free: 348 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.112, allocations: 20 kB / 353.7 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.1121, allocations: 20 kB / 353.7 MB, free: 308 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.1121, allocations: 55.83 kB / 353.8 MB, free: 252 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.1123, allocations: 139.2 kB / 353.9 MB, free: 112 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.1127, allocations: 307.1 kB / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1127, allocations: 3.938 kB / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1127, allocations: 0 / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1127, allocations: 0 / 354.2 MB, free: 15.8 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.00117/0.1139, allocations: 0.5926 MB / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.114, allocations: 8.031 kB / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1141, allocations: 36.56 kB / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.1145, allocations: 255.8 kB / 355.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.1145, allocations: 16.94 kB / 355.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.1146, allocations: 32.36 kB / 355.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.1151, allocations: 280 kB / 355.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1152, allocations: 0 / 355.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1152, allocations: 12 kB / 355.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1152, allocations: 4 kB / 355.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.1157, allocations: 206.1 kB / 355.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.1172, allocations: 1.011 MB / 356.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.1177, allocations: 198.4 kB / 356.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.1181, allocations: 156.8 kB / 357 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1181, allocations: 4 kB / 357 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1182, allocations: 34.55 kB / 357 MB, free: 12.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.773e-06/0.1182, allocations: 0 / 357 MB, free: 12.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00168/0.1198, allocations: 0.5578 MB / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1199, allocations: 55.41 kB / 357.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.1201, allocations: 232.9 kB / 357.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1202, allocations: 33.7 kB / 357.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1203, allocations: 171.8 kB / 358.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.1203, allocations: 67.09 kB / 358.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.1204, allocations: 53.64 kB / 358.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1205, allocations: 330.8 kB / 358.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1207, allocations: 71.97 kB / 358.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1209, allocations: 126.8 kB / 358.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.1213, allocations: 201.7 kB / 358.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1213, allocations: 4 kB / 358.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007918/0.1221, allocations: 354 kB / 359.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1221, allocations: 7.984 kB / 359.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1222, allocations: 7.938 kB / 359.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.1225, allocations: 72.88 kB / 359.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1227, allocations: 51.97 kB / 359.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.1252, allocations: 1.811 MB / 361.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1254, allocations: 39.61 kB / 361.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1254, allocations: 12 kB / 361.2 MB, free: 8.293 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.0001358/0.1256, allocations: 129.8 kB / 361.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.1256, allocations: 27.81 kB / 361.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1257, allocations: 30.11 kB / 361.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1257, allocations: 0 / 361.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1257, allocations: 0 / 361.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1257, allocations: 4 kB / 361.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.1268, allocations: 0.6575 MB / 362.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1268, allocations: 0 / 362.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.127, allocations: 31.98 kB / 362.1 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.1272, allocations: 80.73 kB / 362.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1272, allocations: 0 / 362.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.1293, allocations: 1.734 MB / 363.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1293, allocations: 0 / 363.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.1302, allocations: 459.8 kB / 364.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.1302, allocations: 100.8 kB / 364.5 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1303, allocations: 8 kB / 364.5 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.1305, allocations: 15.98 kB / 364.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1305, allocations: 16.05 kB / 364.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1305, allocations: 4 kB / 364.5 MB, free: 4.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1307, allocations: 176.4 kB / 364.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1307, allocations: 0 / 364.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.1311, allocations: 71.75 kB / 364.8 MB, free: 4.539 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.000158/0.1313, allocations: 111.1 kB / 364.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008509/0.1321, allocations: 366.5 kB / 365.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1321, allocations: 0 / 365.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.1324, allocations: 209.2 kB / 365.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.1329, allocations: 44.89 kB / 365.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.1351, allocations: 0.9553 MB / 366.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1354, allocations: 0.7482 MB / 367.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.484e-05/0.1355, allocations: 33.86 kB / 367.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1356, allocations: 19.44 kB / 367.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1356, allocations: 0 / 367.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of Templates: time 0.1788/0.3144, allocations: 2.686 MB / 369.9 MB, free: 24.91 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/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