Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 76.12 kB / 21.24 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 162.7 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.2 MB / 204.9 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 51.31 kB / 325.6 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1042, allocations: 53.34 MB / 378.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005796/0.11, allocations: 2.873 MB / 381.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1123, allocations: 0.7676 MB / 382.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.1127, allocations: 11.94 kB / 382.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.113, allocations: 51.5 kB / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005325/0.1135, allocations: 127 kB / 382.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.1141, allocations: 131.8 kB / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009066/0.115, allocations: 454.2 kB / 383.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.1153, allocations: 95.42 kB / 383.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.1158, allocations: 179.4 kB / 383.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.1163, allocations: 171.1 kB / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.1164, allocations: 44 kB / 383.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1165, allocations: 44 kB / 383.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1166, allocations: 91.69 kB / 383.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.117, allocations: 167.2 kB / 384.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007728/0.1178, allocations: 498.2 kB / 384.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1178, allocations: 0 / 384.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.1178, allocations: 4 kB / 384.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.1178, allocations: 0 / 384.6 MB, free: 9.906 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001959/0.1198, allocations: 0.6432 MB / 385.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.1198, allocations: 8.031 kB / 385.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.12, allocations: 40.7 kB / 385.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/0.1207, allocations: 253.4 kB / 385.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.1208, allocations: 21.03 kB / 385.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.1209, allocations: 28.38 kB / 385.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.122, allocations: 408.4 kB / 386 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.122, allocations: 3.938 kB / 386 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.1221, allocations: 16 kB / 386 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1221, allocations: 8 kB / 386 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.1233, allocations: 298.4 kB / 386.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.1262, allocations: 1.094 MB / 387.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.1272, allocations: 214.4 kB / 387.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.1276, allocations: 112.8 kB / 387.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1277, allocations: 3.984 kB / 387.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007153/0.1284, allocations: 241.2 kB / 388 MB, free: 6.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.425e-06/0.1284, allocations: 0 / 388 MB, free: 6.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003233/0.1316, allocations: 0.6111 MB / 388.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.1317, allocations: 102.8 kB / 388.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.1322, allocations: 289.8 kB / 388.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.1322, allocations: 25.7 kB / 389 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.1325, allocations: 220.2 kB / 389.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.1325, allocations: 55.58 kB / 389.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.1327, allocations: 57.66 kB / 389.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1329, allocations: 338.7 kB / 389.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.1334, allocations: 149.5 kB / 389.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/0.1342, allocations: 289 kB / 390.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.1353, allocations: 323.7 kB / 390.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1353, allocations: 3.938 kB / 390.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002075/0.1374, allocations: 0.5047 MB / 390.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.697e-05/0.1374, allocations: 33.7 kB / 390.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.1375, allocations: 7.938 kB / 390.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.138, allocations: 88.86 kB / 391 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.1384, allocations: 55.89 kB / 391.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/0.1422, allocations: 1.864 MB / 392.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.1427, allocations: 55.73 kB / 393 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.1427, allocations: 12.06 kB / 393 MB, free: 0.9883 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 (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.143, allocations: 153.7 kB / 393.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.1431, allocations: 23.86 kB / 393.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.446e-05/0.1431, allocations: 33.77 kB / 393.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1431, allocations: 0 / 393.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1431, allocations: 48 / 393.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.1432, allocations: 11.91 kB / 393.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.1435, allocations: 225.2 kB / 393.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1435, allocations: 0 / 393.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.1438, allocations: 31.97 kB / 393.5 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000408/0.1442, allocations: 80.8 kB / 393.5 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.1442, allocations: 4 kB / 393.5 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003506/0.1477, allocations: 1.686 MB / 395.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1477, allocations: 0 / 395.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.15, allocations: 0.4923 MB / 395.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.373e-05/0.1501, allocations: 23.81 kB / 395.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.1501, allocations: 4 kB / 395.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.1505, allocations: 35.95 kB / 395.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.1506, allocations: 15.97 kB / 395.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1506, allocations: 4 kB / 395.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003361/0.151, allocations: 209.3 kB / 396 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.151, allocations: 0 / 396 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006652/0.1516, allocations: 87.77 kB / 396.1 MB, free: 13.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001797/0.1518, allocations: 110.4 kB / 396.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.1533, allocations: 467.5 kB / 396.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1533, allocations: 0 / 396.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.154, allocations: 247 kB / 396.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.1545, allocations: 44.41 kB / 396.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1563, allocations: 0.5875 MB / 397.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.1565, allocations: 159.5 kB / 397.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.1567, allocations: 30.27 kB / 397.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.1567, allocations: 28.44 kB / 397.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1567, allocations: 0 / 397.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.0108/0.1675, allocations: 4.412 MB / 402.2 MB, free: 7.625 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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: 4.48489988502115]