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.001484/0.001484, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.00152/0.00152, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.369/1.369, allocations: 225.6 MB / 249.8 MB, free: 3.602 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.001455/0.001455, allocations: 55.91 kB / 366.9 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09116/0.09262, allocations: 52.14 MB / 419 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004548/0.09716, allocations: 3.083 MB / 422.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.0986, allocations: 0.7715 MB / 422.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.09877, allocations: 11.94 kB / 422.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.09895, allocations: 47.5 kB / 422.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.0992, allocations: 123 kB / 423 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.09954, allocations: 123.8 kB / 423.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005362/0.1001, allocations: 462.2 kB / 423.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.1003, allocations: 98.94 kB / 423.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.1006, allocations: 175.3 kB / 423.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1008, allocations: 191.1 kB / 424.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.138e-05/0.1009, allocations: 44 kB / 424.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.34e-05/0.101, allocations: 44 kB / 424.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.1011, allocations: 87.69 kB / 424.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.1013, allocations: 195.1 kB / 424.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.1019, allocations: 498.1 kB / 424.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1019, allocations: 4 kB / 424.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1019, allocations: 4 kB / 424.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1019, allocations: 0 / 424.9 MB, free: 6.09 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.001507/0.1034, allocations: 0.7107 MB / 425.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1035, allocations: 15.89 kB / 425.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.1035, allocations: 36.7 kB / 425.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.104, allocations: 310.8 kB / 426 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.104, allocations: 24.94 kB / 426 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.1041, allocations: 32.38 kB / 426 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.1049, allocations: 351.5 kB / 426.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1049, allocations: 4 kB / 426.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.1049, allocations: 8 kB / 426.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.105, allocations: 8 kB / 426.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/0.1058, allocations: 306 kB / 426.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.1081, allocations: 1.279 MB / 428 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.1089, allocations: 214.4 kB / 428.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.1092, allocations: 112.8 kB / 428.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1092, allocations: 4 kB / 428.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/0.1097, allocations: 189.7 kB / 428.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.1097, allocations: 3.938 kB / 428.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002541/0.1123, allocations: 0.6891 MB / 429.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.1124, allocations: 110.8 kB / 429.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.1127, allocations: 291 kB / 429.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.1128, allocations: 29.7 kB / 429.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1129, allocations: 212 kB / 429.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.113, allocations: 59.56 kB / 429.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.1131, allocations: 61.66 kB / 429.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1133, allocations: 334.8 kB / 430.2 MB, free: 460 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.1137, allocations: 115.9 kB / 430.4 MB, free: 344 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.1141, allocations: 216.6 kB / 430.6 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.115, allocations: 318.2 kB / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.115, allocations: 7.938 kB / 430.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001378/0.1163, allocations: 493.7 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.1164, allocations: 37.64 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1164, allocations: 4 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/0.1168, allocations: 80.8 kB / 431.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.117, allocations: 59.92 kB / 431.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.1201, allocations: 1.994 MB / 433.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.1205, allocations: 55.75 kB / 433.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.1205, allocations: 16.05 kB / 433.6 MB, free: 12.83 MB / 366.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.0001955/0.1207, allocations: 150 kB / 433.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.1207, allocations: 23.86 kB / 433.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.1208, allocations: 29.91 kB / 433.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.1208, allocations: 11.92 kB / 433.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1208, allocations: 0 / 433.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1208, allocations: 0 / 433.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.1212, allocations: 349.3 kB / 434.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1212, allocations: 0 / 434.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.1214, allocations: 39.91 kB / 434.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.1217, allocations: 80.8 kB / 434.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.1217, allocations: 4 kB / 434.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.1243, allocations: 1.813 MB / 436.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1243, allocations: 3.984 kB / 436.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.1258, allocations: 493.5 kB / 436.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.126, allocations: 105 kB / 436.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.126, allocations: 7.875 kB / 436.7 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.1263, allocations: 35.95 kB / 436.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.1264, allocations: 19.92 kB / 436.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.1264, allocations: 12.05 kB / 436.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.1266, allocations: 210 kB / 437 MB, free: 9.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1266, allocations: 0 / 437 MB, free: 9.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004334/0.127, allocations: 87.84 kB / 437.1 MB, free: 9.148 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.0001748/0.1272, allocations: 111.2 kB / 437.2 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.1284, allocations: 444.9 kB / 437.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1284, allocations: 0 / 437.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.1289, allocations: 231.3 kB / 437.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1293, allocations: 64.7 kB / 437.9 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1306, allocations: 0.6198 MB / 438.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.131, allocations: 0.7678 MB / 439.3 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.1311, allocations: 23.44 kB / 439.3 MB, free: 6.801 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1311, allocations: 0 / 439.3 MB, free: 6.801 MB / 366.1 MB Notification: Performance of Templates: time 0.007877/0.139, allocations: 5.218 MB / 444.5 MB, free: 1.594 MB / 366.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.0693946410901845]