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.001367/0.001367, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001456/0.001456, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.525/1.525, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001645/0.001645, allocations: 55.92 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1056, allocations: 53.34 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004721/0.1103, allocations: 3.097 MB / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1119, allocations: 0.8103 MB / 430.7 MB, free: 356 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.112, allocations: 4 kB / 430.8 MB, free: 352 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.1122, allocations: 59.44 kB / 430.8 MB, free: 292 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.1124, allocations: 115.1 kB / 430.9 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1127, allocations: 127.8 kB / 431 MB, free: 48 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2218/0.3345, allocations: 448.8 kB / 431.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.3347, allocations: 97.78 kB / 431.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.3351, allocations: 185.2 kB / 431.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.3353, allocations: 185.1 kB / 431.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.3353, allocations: 44.34 kB / 432 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.991e-05/0.3354, allocations: 52.78 kB / 432 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.3355, allocations: 81.59 kB / 432.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3356, allocations: 200.3 kB / 432.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.336, allocations: 497.5 kB / 432.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.336, allocations: 0.6562 kB / 432.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.336, allocations: 0 / 432.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3361, allocations: 0.875 kB / 432.8 MB, free: 8.02 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.001206/0.3373, allocations: 0.717 MB / 433.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3373, allocations: 9 kB / 433.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.3374, allocations: 40.67 kB / 433.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.3377, allocations: 315.2 kB / 433.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.3378, allocations: 22.66 kB / 433.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.3378, allocations: 27.62 kB / 433.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.3385, allocations: 354.3 kB / 434.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3385, allocations: 4.781 kB / 434.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.3386, allocations: 10.22 kB / 434.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3386, allocations: 6 kB / 434.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.3394, allocations: 303.3 kB / 434.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.3415, allocations: 1.276 MB / 435.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.3422, allocations: 223.8 kB / 436.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.3426, allocations: 104.1 kB / 436.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3426, allocations: 3.25 kB / 436.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.3431, allocations: 196.4 kB / 436.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.3431, allocations: 3.766 kB / 436.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002526/0.3456, allocations: 0.6851 MB / 437.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3456, allocations: 110.2 kB / 437.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.3459, allocations: 292.2 kB / 437.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.346, allocations: 31.86 kB / 437.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3461, allocations: 213.7 kB / 437.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.3461, allocations: 50.48 kB / 437.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.3462, allocations: 65.22 kB / 437.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.3463, allocations: 341.3 kB / 438.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.3466, allocations: 109.3 kB / 438.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.3471, allocations: 206.1 kB / 438.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.3478, allocations: 319.2 kB / 438.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3478, allocations: 9 kB / 438.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0013/0.3491, allocations: 491.5 kB / 439.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.3491, allocations: 38.48 kB / 439.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3491, allocations: 7.438 kB / 439.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.3495, allocations: 84.2 kB / 439.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.3498, allocations: 53.23 kB / 439.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.3522, allocations: 1.993 MB / 441.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.3525, allocations: 59.2 kB / 441.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.3526, allocations: 10.52 kB / 441.5 MB, free: 3.258 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.0001426/0.3527, allocations: 159.3 kB / 441.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.3527, allocations: 33.56 kB / 441.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.3528, allocations: 28.25 kB / 441.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3528, allocations: 5.125 kB / 441.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3528, allocations: 5.188 kB / 441.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3528, allocations: 0.8438 kB / 441.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.3531, allocations: 332.9 kB / 442 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3531, allocations: 2.047 kB / 442 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3533, allocations: 32.89 kB / 442.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.3536, allocations: 78.98 kB / 442.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3536, allocations: 6.844 kB / 442.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.3558, allocations: 1.819 MB / 444 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3558, allocations: 1.781 kB / 444 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.3573, allocations: 0.4922 MB / 444.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.3574, allocations: 106.6 kB / 444.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.3574, allocations: 6.25 kB / 444.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.3577, allocations: 33.94 kB / 444.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.3578, allocations: 19.33 kB / 444.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3578, allocations: 12.75 kB / 444.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.358, allocations: 207.5 kB / 444.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.358, allocations: 1.344 kB / 444.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004755/0.3585, allocations: 84.98 kB / 444.9 MB, free: 0.8086 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.0001666/0.3586, allocations: 107.3 kB / 445 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.3598, allocations: 448.1 kB / 445.5 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3598, allocations: 1.688 kB / 445.5 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005264/0.3604, allocations: 245.9 kB / 445.7 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3608, allocations: 48.48 kB / 445.8 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3622, allocations: 0.5962 MB / 446.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.3627, allocations: 0.7644 MB / 447.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3628, allocations: 32.36 kB / 447.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.3629, allocations: 22 kB / 447.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3629, allocations: 0 / 447.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of Templates: time 0.01048/0.3734, allocations: 4.525 MB / 451.7 MB, free: 14.72 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: 4.87805475667119]