Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001439/0.001439, allocations: 119.4 kB / 18.41 MB, free: 4.688 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.001664/0.001664, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.468/1.468, allocations: 222.9 MB / 247.1 MB, free: 4.23 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 51.92 kB / 358.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09679, allocations: 49.44 MB / 408.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004995/0.1018, allocations: 3.072 MB / 411.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1035, allocations: 0.7715 MB / 412 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.1037, allocations: 7.938 kB / 412 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.1039, allocations: 51.48 kB / 412 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.1042, allocations: 115 kB / 412.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1046, allocations: 127.8 kB / 412.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006273/0.1052, allocations: 454.3 kB / 412.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.1056, allocations: 154.8 kB / 412.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.1059, allocations: 179.3 kB / 413 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.1062, allocations: 183.2 kB / 413.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.1063, allocations: 47.94 kB / 413.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.012e-05/0.1064, allocations: 44 kB / 413.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1065, allocations: 91.67 kB / 413.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.1067, allocations: 195.1 kB / 413.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.1073, allocations: 498.2 kB / 414.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1074, allocations: 0 / 414.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1074, allocations: 4 kB / 414.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.1074, allocations: 0 / 414.1 MB, free: 0.8984 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001516/0.1089, allocations: 0.7262 MB / 414.8 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.109, allocations: 15.89 kB / 414.8 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.112e-05/0.1091, allocations: 36.7 kB / 414.9 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.1096, allocations: 310.8 kB / 415.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1096, allocations: 20.94 kB / 415.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.1097, allocations: 28.38 kB / 415.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.1105, allocations: 359.5 kB / 415.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1105, allocations: 3.938 kB / 415.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.1106, allocations: 8 kB / 415.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1106, allocations: 8 kB / 415.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009864/0.1116, allocations: 302.1 kB / 415.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.114, allocations: 1.264 MB / 417.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/0.1149, allocations: 339.5 kB / 417.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.1154, allocations: 136.8 kB / 417.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1154, allocations: 4 kB / 417.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005064/0.1159, allocations: 201 kB / 417.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.814e-06/0.1159, allocations: 0 / 417.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002278/0.1182, allocations: 0.6455 MB / 418.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.1183, allocations: 106.8 kB / 418.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.1187, allocations: 302.9 kB / 418.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.1187, allocations: 33.7 kB / 418.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1189, allocations: 208.3 kB / 419.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.1189, allocations: 63.48 kB / 419.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.119, allocations: 49.7 kB / 419.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1192, allocations: 338.8 kB / 419.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.1196, allocations: 120.2 kB / 419.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.1201, allocations: 212.4 kB / 419.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009923/0.1211, allocations: 340.9 kB / 420.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1211, allocations: 3.938 kB / 420.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001484/0.1226, allocations: 493.2 kB / 420.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.1226, allocations: 33.7 kB / 420.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1227, allocations: 0 / 420.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/0.123, allocations: 68.88 kB / 420.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.1233, allocations: 67.89 kB / 420.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.1257, allocations: 1.636 MB / 422.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.1261, allocations: 63.89 kB / 422.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.1261, allocations: 8 kB / 422.5 MB, free: 7.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.1263, allocations: 158.3 kB / 422.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.1263, allocations: 31.73 kB / 422.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.1264, allocations: 30.2 kB / 422.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1264, allocations: 0 / 422.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1264, allocations: 0 / 422.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1264, allocations: 7.984 kB / 422.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.1281, allocations: 0.7989 MB / 423.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1281, allocations: 0 / 423.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.1283, allocations: 47.94 kB / 423.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.1286, allocations: 60.81 kB / 423.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1286, allocations: 4 kB / 423.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.1309, allocations: 1.629 MB / 425.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1309, allocations: 0 / 425.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.1324, allocations: 0.5654 MB / 425.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1326, allocations: 116.8 kB / 426 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1326, allocations: 4 kB / 426 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.1329, allocations: 27.97 kB / 426 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.133, allocations: 27.97 kB / 426 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1331, allocations: 8.062 kB / 426.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002372/0.1333, allocations: 206 kB / 426.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1333, allocations: 0 / 426.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004011/0.1337, allocations: 83.89 kB / 426.3 MB, free: 3.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.1339, allocations: 107.2 kB / 426.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.135, allocations: 454.3 kB / 426.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.135, allocations: 0.6875 kB / 426.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.1355, allocations: 250.5 kB / 427.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1359, allocations: 60.78 kB / 427.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.1388, allocations: 0.8665 MB / 428.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1393, allocations: 0.7639 MB / 428.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.1394, allocations: 23.44 kB / 428.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1394, allocations: 0 / 428.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of Templates: time 0.164/0.3034, allocations: 5.297 MB / 434.1 MB, free: 21.97 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.567790615023114]