Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 103.6 kB / 18.39 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001609, allocations: 187 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 225.2 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 51.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.09637, allocations: 46.62 MB / 375.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004626/0.101, allocations: 2.821 MB / 378.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1027, allocations: 0.7446 MB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.103, allocations: 4 kB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.1033, allocations: 51.5 kB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.1036, allocations: 99.19 kB / 379.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.104, allocations: 103.8 kB / 379.7 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.1046, allocations: 398.2 kB / 380.1 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.1048, allocations: 96.94 kB / 380.2 MB, free: 228 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.1052, allocations: 155.3 kB / 380.3 MB, free: 72 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1825/0.2878, allocations: 153.5 kB / 380.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.2879, allocations: 32.31 kB / 380.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.288, allocations: 32.25 kB / 380.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.2881, allocations: 75.16 kB / 380.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.2883, allocations: 159.3 kB / 380.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.2887, allocations: 360 kB / 381.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2887, allocations: 0 / 381.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2887, allocations: 0.5625 kB / 381.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.2887, allocations: 0 / 381.1 MB, free: 10.53 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.001191/0.2899, allocations: 0.6644 MB / 381.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.29, allocations: 9.625 kB / 381.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.2901, allocations: 33.81 kB / 381.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.2904, allocations: 289.5 kB / 382.1 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2904, allocations: 16.56 kB / 382.1 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.2905, allocations: 29.31 kB / 382.1 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.2911, allocations: 265.9 kB / 382.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2912, allocations: 3.938 kB / 382.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.2912, allocations: 10.31 kB / 382.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2912, allocations: 5.5 kB / 382.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.292, allocations: 266.1 kB / 382.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.2936, allocations: 0.8866 MB / 383.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/0.2945, allocations: 350.8 kB / 383.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.2948, allocations: 129.5 kB / 384 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.2949, allocations: 1.188 kB / 384 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.2953, allocations: 196.5 kB / 384.2 MB, free: 9.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.2953, allocations: 0 / 384.2 MB, free: 9.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001785/0.2971, allocations: 0.5741 MB / 384.8 MB, free: 9.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.2972, allocations: 114.8 kB / 384.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.2974, allocations: 266.6 kB / 385.2 MB, free: 8.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.2974, allocations: 31.56 kB / 385.2 MB, free: 8.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.2975, allocations: 178.6 kB / 385.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.2976, allocations: 64.02 kB / 385.4 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.2977, allocations: 53.2 kB / 385.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.478e-05/0.2977, allocations: 336.6 kB / 385.8 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.298, allocations: 107.7 kB / 385.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.2984, allocations: 168.1 kB / 386.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.299, allocations: 273.9 kB / 386.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.299, allocations: 0.9062 kB / 386.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001023/0.3, allocations: 422 kB / 386.8 MB, free: 7.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.3001, allocations: 37.06 kB / 386.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3001, allocations: 2.469 kB / 386.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004344/0.3005, allocations: 88.36 kB / 386.9 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.3008, allocations: 65.78 kB / 387 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.3021, allocations: 1.554 MB / 388.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.3024, allocations: 51.92 kB / 388.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3025, allocations: 16 kB / 388.6 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003237/0.3028, allocations: 189 kB / 388.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002956/0.3031, allocations: 153.9 kB / 388.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005135/0.3036, allocations: 264.4 kB / 389.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.3036, allocations: 0 / 389.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007355/0.3044, allocations: 345.7 kB / 389.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3044, allocations: 32.86 kB / 389.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.3044, allocations: 2.375 kB / 389.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/0.3045, allocations: 23.78 kB / 389.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.3048, allocations: 62.52 kB / 389.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000729/0.3055, allocations: 1.552 MB / 391.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.3058, allocations: 44.8 kB / 391.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3058, allocations: 6.312 kB / 391.2 MB, free: 4.043 MB / 318.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 (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 9.6e-05/0.3059, allocations: 199.4 kB / 391.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.306, allocations: 27.77 kB / 391.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.306, allocations: 31.95 kB / 391.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3061, allocations: 2.188 kB / 391.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3061, allocations: 0 / 391.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3061, allocations: 1.219 kB / 391.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.3074, allocations: 0.7103 MB / 392.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3074, allocations: 4.219 kB / 392.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.3076, allocations: 40.25 kB / 392.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/0.3078, allocations: 51.25 kB / 392.3 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3078, allocations: 3.562 kB / 392.3 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.309, allocations: 1.554 MB / 393.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3091, allocations: 1.25 kB / 393.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.3102, allocations: 0.5032 MB / 394.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.3103, allocations: 106.3 kB / 394.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.3104, allocations: 6.859 kB / 394.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.3106, allocations: 31.12 kB / 394.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.3107, allocations: 24.36 kB / 394.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3108, allocations: 3.984 kB / 394.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.3109, allocations: 191.2 kB / 394.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3109, allocations: 1.25 kB / 394.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005718/0.3115, allocations: 133.8 kB / 394.8 MB, free: 1.387 MB / 318.1 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.0001246/0.3117, allocations: 114.4 kB / 394.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.313, allocations: 0.7047 MB / 395.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.313, allocations: 1.281 kB / 395.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.3134, allocations: 235.1 kB / 395.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.3138, allocations: 58.77 kB / 395.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3149, allocations: 0.5658 MB / 396.5 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.3152, allocations: 0.7599 MB / 397.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.3153, allocations: 22.58 kB / 397.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3153, allocations: 1.031 kB / 397.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of Templates: time 0.00878/0.3241, allocations: 4.589 MB / 401.9 MB, free: 14.57 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches