Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001802/0.001802, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002321/0.002321, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.535/1.535, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.81 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09341, allocations: 53.35 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004751/0.09816, allocations: 2.874 MB / 381.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.09983, allocations: 0.7638 MB / 382.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.1001, allocations: 4 kB / 382.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1003, allocations: 55.44 kB / 382.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.1007, allocations: 119 kB / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.1011, allocations: 135.7 kB / 382.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006188/0.1017, allocations: 462.2 kB / 383.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.102, allocations: 103.4 kB / 383.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.1023, allocations: 183.3 kB / 383.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1025, allocations: 167.2 kB / 383.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/0.1026, allocations: 48 kB / 383.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.966e-05/0.1027, allocations: 44 kB / 383.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.1027, allocations: 91.67 kB / 384 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.1029, allocations: 163.2 kB / 384.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.1035, allocations: 0.4904 MB / 384.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1035, allocations: 0 / 384.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1035, allocations: 0 / 384.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1035, allocations: 7.938 kB / 384.6 MB, free: 9.91 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.001389/0.1049, allocations: 0.6472 MB / 385.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1049, allocations: 8.031 kB / 385.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.105, allocations: 40.7 kB / 385.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.1054, allocations: 249.4 kB / 385.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.1055, allocations: 21.03 kB / 385.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.1055, allocations: 32.38 kB / 385.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.1064, allocations: 408.4 kB / 386 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1064, allocations: 0 / 386 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.1064, allocations: 8 kB / 386 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1064, allocations: 8 kB / 386 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009081/0.1073, allocations: 314.4 kB / 386.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.1096, allocations: 1.079 MB / 387.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/0.1104, allocations: 246.4 kB / 387.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.1109, allocations: 132.7 kB / 387.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1109, allocations: 4.281 kB / 387.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005443/0.1115, allocations: 248.2 kB / 388 MB, free: 6.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.1115, allocations: 4 kB / 388 MB, free: 6.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00224/0.1137, allocations: 0.5603 MB / 388.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.1138, allocations: 106.8 kB / 388.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.1141, allocations: 289.8 kB / 389 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.1142, allocations: 33.8 kB / 389 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.1143, allocations: 220.2 kB / 389.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.1144, allocations: 55.55 kB / 389.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1145, allocations: 53.7 kB / 389.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1146, allocations: 338.8 kB / 389.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.1151, allocations: 145.9 kB / 389.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.1156, allocations: 298.4 kB / 390.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.1164, allocations: 346.8 kB / 390.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1164, allocations: 0 / 390.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001429/0.1178, allocations: 0.5054 MB / 390.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.1179, allocations: 33.7 kB / 391 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1179, allocations: 4 kB / 391 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.1182, allocations: 68.81 kB / 391 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.1186, allocations: 71.89 kB / 391.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.121, allocations: 1.502 MB / 392.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.1214, allocations: 55.75 kB / 392.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.1214, allocations: 12 kB / 392.7 MB, free: 1.34 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.0001843/0.1216, allocations: 161.8 kB / 392.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.1217, allocations: 31.8 kB / 392.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.1217, allocations: 26.11 kB / 392.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1217, allocations: 7.938 kB / 392.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1217, allocations: 0 / 392.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1217, allocations: 0 / 392.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.1234, allocations: 0.6899 MB / 393.6 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1234, allocations: 4 kB / 393.6 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.1236, allocations: 35.97 kB / 393.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/0.1239, allocations: 68.78 kB / 393.7 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1239, allocations: 8 kB / 393.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.1261, allocations: 1.491 MB / 395.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1261, allocations: 7.922 kB / 395.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.1277, allocations: 0.5659 MB / 395.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1278, allocations: 31.73 kB / 395.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.1278, allocations: 4 kB / 395.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.1281, allocations: 39.97 kB / 395.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.1282, allocations: 27.89 kB / 395.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.1283, allocations: 8 kB / 395.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.1285, allocations: 201.1 kB / 396.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1285, allocations: 0 / 396.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004143/0.1289, allocations: 83.89 kB / 396.2 MB, free: 13.68 MB / 366.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.0001341/0.129, allocations: 99.23 kB / 396.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.1302, allocations: 475.1 kB / 396.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1302, allocations: 0 / 396.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005214/0.1307, allocations: 238.6 kB / 397 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.1311, allocations: 52.47 kB / 397 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.134, allocations: 0.8385 MB / 397.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.1342, allocations: 159.5 kB / 398 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.1343, allocations: 30.97 kB / 398 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.1344, allocations: 20.5 kB / 398.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1344, allocations: 0 / 398.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.009218/0.1436, allocations: 4.318 MB / 402.4 MB, free: 7.438 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.471967677003704]