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.001758/0.001758, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002128/0.002128, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.522/1.522, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.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.001785/0.001785, allocations: 47.92 kB / 370.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2918, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004974/0.2967, allocations: 2.854 MB / 426 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.2983, allocations: 0.7519 MB / 426.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.2985, allocations: 7.938 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.2987, allocations: 51.5 kB / 426.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.299, allocations: 119 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.2994, allocations: 131.8 kB / 427 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.3, allocations: 458.3 kB / 427.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.3002, allocations: 94.03 kB / 427.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.3005, allocations: 175.4 kB / 427.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.3007, allocations: 171.1 kB / 427.9 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.016e-05/0.3008, allocations: 44 kB / 427.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.3009, allocations: 44 kB / 428 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.301, allocations: 87.69 kB / 428.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.3012, allocations: 159.2 kB / 428.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.3019, allocations: 0.4939 MB / 428.7 MB, free: 8.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3019, allocations: 0 / 428.7 MB, free: 8.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3019, allocations: 4 kB / 428.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3019, allocations: 0 / 428.7 MB, free: 8.824 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.001494/0.3034, allocations: 0.6355 MB / 429.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3034, allocations: 8.031 kB / 429.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.3035, allocations: 40.7 kB / 429.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.304, allocations: 264.9 kB / 429.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.304, allocations: 17.03 kB / 429.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.3041, allocations: 28.38 kB / 429.7 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009139/0.305, allocations: 404.4 kB / 430.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.305, allocations: 0 / 430.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.3051, allocations: 12 kB / 430.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.3051, allocations: 4 kB / 430.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000915/0.306, allocations: 306.4 kB / 430.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.3084, allocations: 1.093 MB / 431.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.3092, allocations: 222.4 kB / 431.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.3096, allocations: 104.8 kB / 431.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.3096, allocations: 3.938 kB / 431.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006061/0.3102, allocations: 245.2 kB / 432.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.3102, allocations: 0 / 432.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002548/0.3128, allocations: 0.6071 MB / 432.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/0.3128, allocations: 106.8 kB / 432.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.3133, allocations: 285.8 kB / 433.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.3133, allocations: 29.7 kB / 433.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.3135, allocations: 220.2 kB / 433.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.3136, allocations: 51.59 kB / 433.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3137, allocations: 49.7 kB / 433.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.3139, allocations: 338.8 kB / 433.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.3144, allocations: 145.6 kB / 433.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000648/0.315, allocations: 293 kB / 434.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008974/0.3159, allocations: 330.3 kB / 434.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3159, allocations: 7.938 kB / 434.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00159/0.3175, allocations: 0.5092 MB / 435 MB, free: 2.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.3176, allocations: 36.52 kB / 435 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.3176, allocations: 11.92 kB / 435 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/0.3181, allocations: 84.86 kB / 435.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.3184, allocations: 55.89 kB / 435.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.3215, allocations: 1.853 MB / 437 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.3219, allocations: 55.62 kB / 437.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.3219, allocations: 16 kB / 437.1 MB, free: 15.92 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.0002595/0.3222, allocations: 151.2 kB / 437.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.3222, allocations: 23.86 kB / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.3223, allocations: 33.8 kB / 437.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3223, allocations: 4.062 kB / 437.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3223, allocations: 0 / 437.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3223, allocations: 8.047 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.3227, allocations: 237.1 kB / 437.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3227, allocations: 0 / 437.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.3229, allocations: 31.91 kB / 437.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/0.3233, allocations: 88.8 kB / 437.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3233, allocations: 0 / 437.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.3259, allocations: 1.674 MB / 439.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3259, allocations: 0 / 439.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.3276, allocations: 497.6 kB / 439.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.3277, allocations: 31.78 kB / 439.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.3278, allocations: 12 kB / 439.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.328, allocations: 36.02 kB / 439.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.3282, allocations: 19.97 kB / 439.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.3282, allocations: 4 kB / 439.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002939/0.3285, allocations: 201.2 kB / 440.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3285, allocations: 0 / 440.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005304/0.329, allocations: 91.78 kB / 440.2 MB, free: 12.64 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.0001703/0.3292, allocations: 99.25 kB / 440.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.3304, allocations: 480.2 kB / 440.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3304, allocations: 0 / 440.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.331, allocations: 238.6 kB / 441 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3314, allocations: 52.45 kB / 441.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.3329, allocations: 0.5724 MB / 441.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.3331, allocations: 159.5 kB / 441.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.3332, allocations: 34.2 kB / 441.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.3333, allocations: 27.44 kB / 441.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3333, allocations: 0 / 441.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01092/0.3442, allocations: 4.71 MB / 446.6 MB, free: 6.262 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.8165076449513435]