Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001698/0.001698, allocations: 102.7 kB / 21.93 MB, free: 5.203 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.00186/0.00186, allocations: 202.7 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 207.7 MB / 236.1 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 60.34 kB / 348.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.315, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004233/0.3192, allocations: 2.636 MB / 400.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3208, allocations: 0.7148 MB / 401 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.3209, allocations: 3.938 kB / 401 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.3211, allocations: 46.38 kB / 401 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3213, allocations: 104.7 kB / 401.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.3216, allocations: 111.4 kB / 401.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.3221, allocations: 393 kB / 401.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.3223, allocations: 68.69 kB / 401.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.3225, allocations: 149.5 kB / 401.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.3227, allocations: 148.1 kB / 402 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.231e-05/0.3228, allocations: 31.53 kB / 402 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-05/0.3229, allocations: 31.78 kB / 402 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.3229, allocations: 72.12 kB / 402.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.3231, allocations: 132.3 kB / 402.2 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.3235, allocations: 361.6 kB / 402.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3235, allocations: 8 kB / 402.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3235, allocations: 4.844 kB / 402.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3235, allocations: 0 / 402.6 MB, free: 6.32 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001281/0.3248, allocations: 0.5905 MB / 403.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3249, allocations: 14.14 kB / 403.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/0.325, allocations: 40.7 kB / 403.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.3254, allocations: 228.5 kB / 403.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3254, allocations: 18.28 kB / 403.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.3255, allocations: 23.47 kB / 403.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.3262, allocations: 324.9 kB / 403.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3262, allocations: 1.156 kB / 403.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.3262, allocations: 6.188 kB / 403.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3262, allocations: 10.62 kB / 403.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007299/0.3269, allocations: 269.3 kB / 404.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.3284, allocations: 0.7558 MB / 404.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.3291, allocations: 230.5 kB / 405.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.3294, allocations: 97.59 kB / 405.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3295, allocations: 3.109 kB / 405.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.3299, allocations: 234.7 kB / 405.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.3299, allocations: 4 kB / 405.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002038/0.332, allocations: 0.5364 MB / 406 MB, free: 4.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.332, allocations: 110.5 kB / 406.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.3323, allocations: 257.8 kB / 406.3 MB, free: 4.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3323, allocations: 31.02 kB / 406.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3324, allocations: 193.5 kB / 406.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.3325, allocations: 58.7 kB / 406.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.3326, allocations: 47.16 kB / 406.6 MB, free: 3.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.3326, allocations: 336.2 kB / 407 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.3329, allocations: 127.4 kB / 407.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.3333, allocations: 242.7 kB / 407.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.3339, allocations: 264.4 kB / 407.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3339, allocations: 5.375 kB / 407.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001071/0.3349, allocations: 452.9 kB / 408 MB, free: 2.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.335, allocations: 36.56 kB / 408.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.335, allocations: 2.75 kB / 408.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004945/0.3355, allocations: 110 kB / 408.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3357, allocations: 48.61 kB / 408.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.3375, allocations: 1.75 MB / 410 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.3379, allocations: 50.67 kB / 410 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.3379, allocations: 7.812 kB / 410 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003516/0.3382, allocations: 213.3 kB / 410.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003224/0.3386, allocations: 234.8 kB / 410.5 MB, free: 1.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000495/0.339, allocations: 246.2 kB / 410.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.339, allocations: 1.406 kB / 410.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007949/0.3398, allocations: 379.5 kB / 411.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3399, allocations: 33.66 kB / 411.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3399, allocations: 2.234 kB / 411.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/0.34, allocations: 42.97 kB / 411.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.3402, allocations: 45.73 kB / 411.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.3416, allocations: 1.606 MB / 412.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.3419, allocations: 42.05 kB / 412.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.342, allocations: 11.5 kB / 412.9 MB, free: 15.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.3422, allocations: 198.6 kB / 413.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.3422, allocations: 26.58 kB / 413.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.3423, allocations: 23.92 kB / 413.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3423, allocations: 2.906 kB / 413.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3423, allocations: 0 / 413.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3423, allocations: 0 / 413.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.3426, allocations: 204.8 kB / 413.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3426, allocations: 0 / 413.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.3428, allocations: 33.12 kB / 413.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.343, allocations: 69.8 kB / 413.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.343, allocations: 9.375 kB / 413.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.3453, allocations: 1.58 MB / 415 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3453, allocations: 0 / 415 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.3466, allocations: 439.1 kB / 415.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.3467, allocations: 17.48 kB / 415.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.3468, allocations: 18.92 kB / 415.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.347, allocations: 28.2 kB / 415.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3471, allocations: 32.02 kB / 415.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3471, allocations: 3.906 kB / 415.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.3474, allocations: 181.9 kB / 415.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3474, allocations: 0 / 415.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006873/0.3481, allocations: 142.1 kB / 415.8 MB, free: 12.69 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001778/0.3482, allocations: 99.12 kB / 415.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.3499, allocations: 0.7518 MB / 416.7 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3499, allocations: 0 / 416.7 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.3504, allocations: 233 kB / 416.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.3508, allocations: 47.91 kB / 417 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.3523, allocations: 0.5683 MB / 417.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.3525, allocations: 144.6 kB / 417.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.226e-05/0.3526, allocations: 24.36 kB / 417.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3526, allocations: 3.938 kB / 417.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of Templates: time 0.008657/0.3612, allocations: 4.587 MB / 422.3 MB, free: 8.828 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.671095480211079]