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.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.HighPass,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.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,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.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001408/0.001408, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.848/1.848, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001315/0.001315, allocations: 51.92 kB / 328.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1428, allocations: 46.6 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00516/0.148, allocations: 2.824 MB / 378 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1499, allocations: 0.7524 MB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.1502, allocations: 7.938 kB / 378.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1505, allocations: 39.58 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.1507, allocations: 107.1 kB / 378.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1511, allocations: 99.81 kB / 379 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000603/0.1517, allocations: 394.2 kB / 379.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.152, allocations: 96.92 kB / 379.5 MB, free: 236 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.1523, allocations: 143.4 kB / 379.6 MB, free: 92 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3698/0.5221, allocations: 160.3 kB / 379.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.5224, allocations: 31.62 kB / 379.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.5225, allocations: 33 kB / 379.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.5226, allocations: 71.08 kB / 379.9 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.5229, allocations: 159.3 kB / 380.1 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000698/0.5236, allocations: 354.9 kB / 380.4 MB, free: 9.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.5236, allocations: 0 / 380.4 MB, free: 9.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.5237, allocations: 0 / 380.4 MB, free: 9.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.5237, allocations: 1.156 kB / 380.4 MB, free: 9.945 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.001523/0.5252, allocations: 0.6586 MB / 381.1 MB, free: 9.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.5253, allocations: 11.23 kB / 381.1 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.759e-05/0.5254, allocations: 38.22 kB / 381.1 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.5259, allocations: 288 kB / 381.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.5259, allocations: 16 kB / 381.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.526, allocations: 22.75 kB / 381.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.5267, allocations: 268.2 kB / 381.7 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5267, allocations: 3.938 kB / 381.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.5268, allocations: 10.05 kB / 381.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.5268, allocations: 9.438 kB / 381.7 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/0.5277, allocations: 269.1 kB / 382 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.5297, allocations: 0.8994 MB / 382.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009121/0.5306, allocations: 241.8 kB / 383.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.531, allocations: 108.1 kB / 383.2 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.531, allocations: 5.781 kB / 383.2 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.5315, allocations: 185.1 kB / 383.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.725e-06/0.5315, allocations: 0 / 383.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002318/0.5338, allocations: 0.6154 MB / 384 MB, free: 8.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.5339, allocations: 113.8 kB / 384.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.5343, allocations: 263.4 kB / 384.4 MB, free: 8.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.5343, allocations: 30.73 kB / 384.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.5345, allocations: 182.1 kB / 384.6 MB, free: 8.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.5345, allocations: 51.95 kB / 384.6 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.5347, allocations: 51.33 kB / 384.7 MB, free: 8.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5348, allocations: 331.5 kB / 385 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.5351, allocations: 107.4 kB / 385.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.5355, allocations: 164 kB / 385.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/0.5362, allocations: 267.8 kB / 385.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5362, allocations: 2.656 kB / 385.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001195/0.5374, allocations: 431 kB / 386 MB, free: 7.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.5375, allocations: 33.98 kB / 386 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.5375, allocations: 1.781 kB / 386 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.5381, allocations: 114.6 kB / 386.1 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.5384, allocations: 47.17 kB / 386.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.5407, allocations: 1.884 MB / 388.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.541, allocations: 57.27 kB / 388.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.5411, allocations: 11.41 kB / 388.1 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003841/0.5415, allocations: 182.9 kB / 388.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003258/0.5418, allocations: 153.1 kB / 388.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000602/0.5424, allocations: 242.7 kB / 388.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.5424, allocations: 1.531 kB / 388.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0009145/0.5433, allocations: 358.1 kB / 389 MB, free: 5.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.5434, allocations: 32.91 kB / 389.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5434, allocations: 2.188 kB / 389.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.5435, allocations: 41.86 kB / 389.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.5438, allocations: 49.67 kB / 389.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.5449, allocations: 1.719 MB / 390.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.5453, allocations: 40.31 kB / 390.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.5453, allocations: 15.69 kB / 390.9 MB, free: 3.551 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 (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.0001518/0.5455, allocations: 200 kB / 391.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.5455, allocations: 28.67 kB / 391.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.5456, allocations: 27.12 kB / 391.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5456, allocations: 1.062 kB / 391.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5456, allocations: 1.062 kB / 391.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5456, allocations: 1.406 kB / 391.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.546, allocations: 316.2 kB / 391.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.546, allocations: 4.547 kB / 391.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.5462, allocations: 31.98 kB / 391.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.5465, allocations: 69.05 kB / 391.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.5465, allocations: 1.766 kB / 391.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.5482, allocations: 1.712 MB / 393.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5482, allocations: 1.891 kB / 393.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.5495, allocations: 439.1 kB / 393.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.5496, allocations: 101.1 kB / 393.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.5496, allocations: 2.984 kB / 393.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.5498, allocations: 35.52 kB / 393.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.55, allocations: 24.48 kB / 393.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.55, allocations: 8.422 kB / 393.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.5502, allocations: 190.1 kB / 394.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5502, allocations: 0 / 394.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006519/0.5509, allocations: 140.3 kB / 394.2 MB, free: 1.102 MB / 318.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.0001746/0.551, allocations: 104.6 kB / 394.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.5526, allocations: 0.7196 MB / 395.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.5526, allocations: 1.312 kB / 395.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.5531, allocations: 238.2 kB / 395.3 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.5535, allocations: 52.27 kB / 395.3 MB, free: 380 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.5547, allocations: 0.5276 MB / 395.9 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.5551, allocations: 0.7604 MB / 396.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.5552, allocations: 26.44 kB / 396.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.5553, allocations: 25.23 kB / 396.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5553, allocations: 3.938 kB / 396.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of Templates: time 0.01127/0.5666, allocations: 4.557 MB / 401.2 MB, free: 14.45 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches