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.001659/0.001659, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002474/0.002474, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.634/1.634, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.001573/0.001573, allocations: 55.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2826, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005117/0.2877, allocations: 2.879 MB / 434.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2895, allocations: 0.7715 MB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.2897, allocations: 11.94 kB / 435.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.2899, allocations: 55.44 kB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.2902, allocations: 115.1 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.2905, allocations: 131.8 kB / 435.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005776/0.2911, allocations: 454.2 kB / 436 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.2914, allocations: 107.1 kB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.2917, allocations: 191.3 kB / 436.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.292, allocations: 179.2 kB / 436.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.259e-05/0.2921, allocations: 44 kB / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.2921, allocations: 44 kB / 436.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.2922, allocations: 87.69 kB / 436.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.2924, allocations: 167.2 kB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.293, allocations: 0.4928 MB / 437.3 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2931, allocations: 0 / 437.3 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2931, allocations: 0 / 437.3 MB, free: 1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2931, allocations: 4 kB / 437.3 MB, free: 0.9961 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.001531/0.2946, allocations: 0.6394 MB / 437.9 MB, free: 324 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2946, allocations: 8.031 kB / 438 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.2947, allocations: 44.69 kB / 438 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.2953, allocations: 249 kB / 438.2 MB, free: 0 / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.2954, allocations: 21.08 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.2954, allocations: 32.38 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000876/0.2963, allocations: 408.2 kB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2963, allocations: 0 / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.2964, allocations: 12 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2964, allocations: 8 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/0.2972, allocations: 302.4 kB / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.2996, allocations: 1.101 MB / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/0.3003, allocations: 218.4 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.3006, allocations: 108.8 kB / 440.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.3007, allocations: 256 / 440.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005909/0.3013, allocations: 245.2 kB / 440.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.3013, allocations: 0 / 440.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002608/0.3039, allocations: 0.6188 MB / 441.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.304, allocations: 106.8 kB / 441.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.3045, allocations: 285.8 kB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.3045, allocations: 29.7 kB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.3047, allocations: 216.3 kB / 441.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.3047, allocations: 51.59 kB / 442 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3049, allocations: 57.64 kB / 442 MB, free: 12.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.3051, allocations: 342.8 kB / 442.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.3055, allocations: 137.6 kB / 442.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.3061, allocations: 289.8 kB / 442.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.3069, allocations: 334.2 kB / 443.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3069, allocations: 0 / 443.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001409/0.3083, allocations: 0.4976 MB / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.3084, allocations: 41.64 kB / 443.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.3084, allocations: 11.92 kB / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/0.3088, allocations: 80.88 kB / 443.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.3091, allocations: 59.89 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.3121, allocations: 1.86 MB / 445.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.3125, allocations: 59.69 kB / 445.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.3125, allocations: 11.98 kB / 445.7 MB, free: 8.082 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.0002274/0.3128, allocations: 149.8 kB / 445.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.3128, allocations: 23.86 kB / 445.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.3129, allocations: 29.77 kB / 445.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3129, allocations: 4.062 kB / 445.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3129, allocations: 4 kB / 445.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.3129, allocations: 3.938 kB / 445.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.3132, allocations: 229.1 kB / 446.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3132, allocations: 0 / 446.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.3134, allocations: 31.97 kB / 446.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/0.3137, allocations: 80.81 kB / 446.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.3137, allocations: 3.984 kB / 446.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.3163, allocations: 1.675 MB / 447.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3163, allocations: 0 / 447.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3177, allocations: 0.4926 MB / 448.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3178, allocations: 31.77 kB / 448.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.3179, allocations: 4 kB / 448.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.3181, allocations: 36.03 kB / 448.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.3182, allocations: 31.88 kB / 448.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3183, allocations: 0 / 448.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.3185, allocations: 205.2 kB / 448.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3185, allocations: 0 / 448.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.3189, allocations: 87.83 kB / 448.8 MB, free: 4.809 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.0001618/0.3191, allocations: 99.19 kB / 448.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3202, allocations: 478.8 kB / 449.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3202, allocations: 0 / 449.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.3207, allocations: 234.5 kB / 449.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3211, allocations: 48.72 kB / 449.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3224, allocations: 0.5957 MB / 450.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.3226, allocations: 155.4 kB / 450.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.3227, allocations: 30.28 kB / 450.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.3228, allocations: 19.44 kB / 450.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3228, allocations: 0 / 450.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of Templates: time 0.01024/0.3331, allocations: 4.808 MB / 455.3 MB, free: 14.33 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/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: 5.092242837883532]