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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 249.8 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] 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=999,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=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.92 kB / 366.9 MB, free: 324 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09672, allocations: 52.13 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00395/0.1007, allocations: 2.721 MB / 421.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1018, allocations: 0.6661 MB / 422.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1019, allocations: 7.938 kB / 422.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.1021, allocations: 43.58 kB / 422.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1023, allocations: 91.25 kB / 422.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1025, allocations: 87.83 kB / 422.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.1029, allocations: 338.5 kB / 422.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.1031, allocations: 89.69 kB / 423 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1033, allocations: 123.6 kB / 423.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.1035, allocations: 139.4 kB / 423.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.1036, allocations: 24 kB / 423.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.1036, allocations: 28 kB / 423.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.1037, allocations: 71.69 kB / 423.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1038, allocations: 143.3 kB / 423.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.1042, allocations: 318.6 kB / 423.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1042, allocations: 0 / 423.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1042, allocations: 0 / 423.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1042, allocations: 0 / 423.8 MB, free: 7.203 MB / 350.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.001048/0.1052, allocations: 0.6001 MB / 424.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1053, allocations: 8.031 kB / 424.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.1053, allocations: 32.75 kB / 424.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.1057, allocations: 268.4 kB / 424.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.1058, allocations: 20.94 kB / 424.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.1058, allocations: 28.38 kB / 424.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.1063, allocations: 276 kB / 425.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1063, allocations: 3.938 kB / 425.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.1064, allocations: 15.94 kB / 425.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.1064, allocations: 8 kB / 425.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.1068, allocations: 202.2 kB / 425.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.1085, allocations: 1.011 MB / 426.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.109, allocations: 178.5 kB / 426.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/0.1094, allocations: 144.7 kB / 426.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1094, allocations: 4.297 kB / 426.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1095, allocations: 38.56 kB / 426.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/0.1095, allocations: 3.938 kB / 426.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001801/0.1113, allocations: 0.5519 MB / 427.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.1113, allocations: 59.34 kB / 427.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.1116, allocations: 236.9 kB / 427.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1116, allocations: 29.7 kB / 427.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1117, allocations: 180.2 kB / 427.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.1118, allocations: 63.44 kB / 427.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.1119, allocations: 45.7 kB / 427.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.112, allocations: 330.8 kB / 428.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1122, allocations: 67.97 kB / 428.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.1124, allocations: 138.8 kB / 428.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.1128, allocations: 211.9 kB / 428.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1128, allocations: 4 kB / 428.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008805/0.1137, allocations: 355.6 kB / 428.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1137, allocations: 4 kB / 428.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1137, allocations: 4 kB / 428.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004011/0.1141, allocations: 76.86 kB / 429 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.1143, allocations: 59.91 kB / 429 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.1174, allocations: 2.001 MB / 431 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.1176, allocations: 39.73 kB / 431.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1176, allocations: 8 kB / 431.1 MB, free: 15.49 MB / 366.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.000159/0.1178, allocations: 153.7 kB / 431.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.1179, allocations: 19.86 kB / 431.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.1179, allocations: 30.17 kB / 431.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1179, allocations: 0 / 431.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1179, allocations: 0 / 431.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1179, allocations: 0 / 431.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.1191, allocations: 0.6474 MB / 431.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.1191, allocations: 7.984 kB / 431.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1193, allocations: 35.92 kB / 432 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.1196, allocations: 72.92 kB / 432.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1196, allocations: 8 kB / 432.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.1222, allocations: 1.92 MB / 434 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1222, allocations: 0 / 434 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009843/0.1232, allocations: 454.1 kB / 434.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.1232, allocations: 104.9 kB / 434.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1233, allocations: 4 kB / 434.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.1235, allocations: 24.05 kB / 434.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.1235, allocations: 11.98 kB / 434.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1235, allocations: 4 kB / 434.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1237, allocations: 172.4 kB / 434.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1237, allocations: 0 / 434.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.1241, allocations: 79.83 kB / 434.8 MB, free: 11.52 MB / 366.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.0001582/0.1243, allocations: 107.2 kB / 434.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009502/0.1252, allocations: 362.4 kB / 435.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1252, allocations: 0 / 435.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.1255, allocations: 210.8 kB / 435.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1259, allocations: 36.78 kB / 435.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.1284, allocations: 0.9048 MB / 436.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1288, allocations: 0.7519 MB / 437.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.1288, allocations: 19.44 kB / 437.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1288, allocations: 0 / 437.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of Templates: time 0.00592/0.1347, allocations: 3.762 MB / 441 MB, free: 5.285 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.139820622978732]