Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.00182/0.00182, allocations: 115.9 kB / 18.41 MB, free: 4.645 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.001958/0.001958, allocations: 193.3 kB / 21.35 MB, free: 1.711 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.444/1.444, allocations: 222.9 MB / 247.1 MB, free: 4.203 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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 51.91 kB / 358.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09285, allocations: 49.44 MB / 408.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004317/0.0972, allocations: 3.059 MB / 411.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.09858, allocations: 0.7676 MB / 412 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.09874, allocations: 4 kB / 412 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.09892, allocations: 51.5 kB / 412 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.09916, allocations: 115 kB / 412.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.09949, allocations: 127.8 kB / 412.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.1, allocations: 458.3 kB / 412.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.1003, allocations: 138.8 kB / 412.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1005, allocations: 175.3 kB / 413 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.1008, allocations: 191.2 kB / 413.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.1009, allocations: 44 kB / 413.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-05/0.1009, allocations: 44 kB / 413.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.101, allocations: 91.69 kB / 413.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.1013, allocations: 199 kB / 413.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005396/0.1018, allocations: 490.2 kB / 414.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1018, allocations: 0 / 414.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1018, allocations: 0 / 414.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1018, allocations: 0 / 414.1 MB, free: 0.8398 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.001418/0.1033, allocations: 0.7301 MB / 414.8 MB, free: 56 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1033, allocations: 11.89 kB / 414.8 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.1034, allocations: 40.7 kB / 414.8 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.1039, allocations: 310.8 kB / 415.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1039, allocations: 24.94 kB / 415.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.104, allocations: 28.38 kB / 415.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007927/0.1048, allocations: 355.4 kB / 415.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1048, allocations: 0 / 415.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.1048, allocations: 16 kB / 415.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1048, allocations: 12 kB / 415.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.1057, allocations: 294.1 kB / 415.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.108, allocations: 1.275 MB / 417.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.1087, allocations: 230.4 kB / 417.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.1091, allocations: 112.8 kB / 417.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1092, allocations: 7.984 kB / 417.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005002/0.1097, allocations: 177.9 kB / 417.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.1097, allocations: 4 kB / 417.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00257/0.1123, allocations: 0.6924 MB / 418.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.1124, allocations: 102.8 kB / 418.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.1127, allocations: 295 kB / 418.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.1127, allocations: 33.7 kB / 418.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1129, allocations: 220 kB / 419 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.113, allocations: 47.59 kB / 419 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.1131, allocations: 57.59 kB / 419.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1133, allocations: 346.7 kB / 419.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.1137, allocations: 115.9 kB / 419.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.1142, allocations: 216.7 kB / 419.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008337/0.115, allocations: 324.8 kB / 420.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.115, allocations: 0 / 420.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001383/0.1164, allocations: 489.9 kB / 420.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.1165, allocations: 37.64 kB / 420.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1165, allocations: 0 / 420.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003912/0.1169, allocations: 88.86 kB / 420.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.1172, allocations: 51.91 kB / 420.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.1201, allocations: 2.001 MB / 422.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.1204, allocations: 55.81 kB / 422.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.1205, allocations: 16 kB / 422.8 MB, free: 7.551 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.0001704/0.1206, allocations: 154.1 kB / 422.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.1207, allocations: 23.86 kB / 423 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.1208, allocations: 29.86 kB / 423 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1208, allocations: 3.938 kB / 423 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1208, allocations: 128 / 423 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1208, allocations: 8 kB / 423 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.1212, allocations: 353.3 kB / 423.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1212, allocations: 0 / 423.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.1214, allocations: 27.97 kB / 423.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.1217, allocations: 80.81 kB / 423.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1217, allocations: 7.984 kB / 423.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.1242, allocations: 1.805 MB / 425.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1243, allocations: 224 / 425.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.1258, allocations: 0.4921 MB / 425.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.1259, allocations: 108.9 kB / 425.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.126, allocations: 11.94 kB / 425.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.1263, allocations: 40.02 kB / 425.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.1263, allocations: 15.98 kB / 425.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1264, allocations: 4 kB / 425.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.1266, allocations: 209.9 kB / 426.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1266, allocations: 4 kB / 426.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.127, allocations: 87.84 kB / 426.2 MB, free: 3.867 MB / 350.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.0001463/0.1272, allocations: 119.1 kB / 426.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.1283, allocations: 454.2 kB / 426.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1283, allocations: 4 kB / 426.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/0.1288, allocations: 238.5 kB / 427 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.1292, allocations: 56.91 kB / 427.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1304, allocations: 0.6149 MB / 427.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1308, allocations: 0.7677 MB / 428.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.1309, allocations: 27.44 kB / 428.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1309, allocations: 0 / 428.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of Templates: time 0.1733/0.3042, allocations: 5.182 MB / 433.7 MB, free: 21.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.464064137078822]