Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 175.9 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 91.58 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2892, allocations: 47.59 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002816/0.2921, allocations: 2.406 MB / 379 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2934, allocations: 0.7986 MB / 379.8 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.2936, allocations: 8.375 kB / 379.8 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2937, allocations: 35.27 kB / 379.9 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.2939, allocations: 81.34 kB / 379.9 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2942, allocations: 91.62 kB / 380 MB, free: 42.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.2946, allocations: 365.6 kB / 380.4 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.2948, allocations: 87.31 kB / 380.5 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.295, allocations: 133 kB / 380.6 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.2952, allocations: 143.5 kB / 380.7 MB, free: 42.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.2953, allocations: 16.81 kB / 380.8 MB, free: 42.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.2953, allocations: 16.72 kB / 380.8 MB, free: 42.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.2954, allocations: 55.08 kB / 380.8 MB, free: 42.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.2956, allocations: 166.2 kB / 381 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.2959, allocations: 334.4 kB / 381.3 MB, free: 41.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2959, allocations: 4 kB / 381.3 MB, free: 41.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2959, allocations: 3.938 kB / 381.3 MB, free: 41.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2959, allocations: 0 / 381.3 MB, free: 41.97 MB / 298.7 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.001225/0.2972, allocations: 0.6316 MB / 382 MB, free: 41.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2972, allocations: 9.312 kB / 382 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.437e-05/0.2973, allocations: 32.25 kB / 382 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.2976, allocations: 284.1 kB / 382.3 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.2976, allocations: 17.56 kB / 382.3 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.2977, allocations: 20.22 kB / 382.3 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.2984, allocations: 295.8 kB / 382.6 MB, free: 40.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2984, allocations: 0 / 382.6 MB, free: 40.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.2984, allocations: 6.531 kB / 382.6 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.2985, allocations: 5.281 kB / 382.6 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.2993, allocations: 305.3 kB / 382.9 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.3008, allocations: 0.916 MB / 383.8 MB, free: 40.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008561/0.3017, allocations: 387.6 kB / 384.2 MB, free: 39.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.3021, allocations: 146.5 kB / 384.3 MB, free: 39.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.3021, allocations: 6.141 kB / 384.4 MB, free: 39.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.3026, allocations: 208.9 kB / 384.6 MB, free: 39.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.3026, allocations: 0 / 384.6 MB, free: 39.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001894/0.3045, allocations: 0.6901 MB / 385.2 MB, free: 39.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.3046, allocations: 105.8 kB / 385.4 MB, free: 39.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.3049, allocations: 272.4 kB / 385.6 MB, free: 38.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3049, allocations: 27.86 kB / 385.6 MB, free: 38.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.305, allocations: 183.1 kB / 385.8 MB, free: 38.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.3051, allocations: 58.67 kB / 385.9 MB, free: 38.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.3051, allocations: 9.938 kB / 385.9 MB, free: 38.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.3052, allocations: 336.1 kB / 386.2 MB, free: 38.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.3055, allocations: 119.3 kB / 386.3 MB, free: 38.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.3059, allocations: 176.9 kB / 386.5 MB, free: 38.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005937/0.3065, allocations: 312.5 kB / 386.8 MB, free: 37.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3065, allocations: 4 kB / 386.8 MB, free: 37.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009126/0.3074, allocations: 475.7 kB / 387.3 MB, free: 37.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.3075, allocations: 167.9 kB / 387.4 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3075, allocations: 3.938 kB / 387.4 MB, free: 37.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.3079, allocations: 116.8 kB / 387.6 MB, free: 37.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.3082, allocations: 63.97 kB / 387.6 MB, free: 37.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.3094, allocations: 1.515 MB / 389.1 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.3097, allocations: 47.81 kB / 389.2 MB, free: 35.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.3098, allocations: 16.06 kB / 389.2 MB, free: 35.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-06/0.3098, allocations: 4 kB / 389.2 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005996/0.3104, allocations: 326.2 kB / 389.5 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.3104, allocations: 0 / 389.5 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.295e-05/0.3105, allocations: 24.84 kB / 389.5 MB, free: 34.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3107, allocations: 71.92 kB / 389.6 MB, free: 34.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006278/0.3113, allocations: 1.381 MB / 391 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.3116, allocations: 47.72 kB / 391 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3116, allocations: 8 kB / 391.1 MB, free: 33.33 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.3118, allocations: 225 kB / 391.3 MB, free: 33.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.3118, allocations: 23.72 kB / 391.3 MB, free: 33.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.3119, allocations: 34.25 kB / 391.3 MB, free: 33.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3119, allocations: 0 / 391.3 MB, free: 33.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3119, allocations: 4 kB / 391.3 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3119, allocations: 0 / 391.3 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.313, allocations: 0.7619 MB / 392.1 MB, free: 32.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3131, allocations: 0 / 392.1 MB, free: 32.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3133, allocations: 47.95 kB / 392.1 MB, free: 32.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.3134, allocations: 64.78 kB / 392.2 MB, free: 32.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3135, allocations: 0 / 392.2 MB, free: 32.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.3145, allocations: 1.491 MB / 393.7 MB, free: 30.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3145, allocations: 3.938 kB / 393.7 MB, free: 30.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009895/0.3155, allocations: 0.5708 MB / 394.3 MB, free: 29.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.3156, allocations: 104.8 kB / 394.4 MB, free: 29.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.3156, allocations: 8.062 kB / 394.4 MB, free: 29.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.3159, allocations: 35.97 kB / 394.4 MB, free: 29.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.316, allocations: 27.91 kB / 394.4 MB, free: 29.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.316, allocations: 4.141 kB / 394.4 MB, free: 29.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.3162, allocations: 197.9 kB / 394.6 MB, free: 29.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3162, allocations: 4 kB / 394.6 MB, free: 29.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005322/0.3167, allocations: 127.7 kB / 394.8 MB, free: 29.37 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001822/0.3169, allocations: 115.2 kB / 394.9 MB, free: 29.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.3182, allocations: 0.7397 MB / 395.6 MB, free: 28.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3182, allocations: 4.062 kB / 395.6 MB, free: 28.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.3186, allocations: 254.6 kB / 395.9 MB, free: 28.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.319, allocations: 40.53 kB / 395.9 MB, free: 28.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.3201, allocations: 0.6985 MB / 396.6 MB, free: 27.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3203, allocations: 0.756 MB / 397.4 MB, free: 26.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.3205, allocations: 30.28 kB / 397.4 MB, free: 26.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.3206, allocations: 19.44 kB / 397.4 MB, free: 26.59 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3206, allocations: 0 / 397.4 MB, free: 26.59 MB / 298.7 MB Notification: Performance of Templates: time 0.006877/0.3274, allocations: 3.878 MB / 401.3 MB, free: 22.73 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches