Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 105.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001791/0.001791, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.498/1.498, allocations: 227.7 MB / 246.6 MB, free: 10.6 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 80.05 kB / 306.6 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.111, allocations: 50.53 MB / 357.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004848/0.1159, allocations: 3.135 MB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1175, allocations: 0.8105 MB / 361.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1177, allocations: 4 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1179, allocations: 35.69 kB / 361.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1181, allocations: 103.2 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1184, allocations: 111.9 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.1189, allocations: 430.2 kB / 361.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.1192, allocations: 131.5 kB / 361.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.1195, allocations: 151.4 kB / 362 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1197, allocations: 179.2 kB / 362.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.1198, allocations: 24 kB / 362.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-05/0.1199, allocations: 24 kB / 362.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.702e-05/0.12, allocations: 71.67 kB / 362.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.1202, allocations: 179.1 kB / 362.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.1207, allocations: 478.6 kB / 362.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1207, allocations: 0 / 362.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1207, allocations: 0 / 362.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1207, allocations: 4 kB / 362.9 MB, free: 8.496 MB / 302.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.001505/0.1222, allocations: 0.711 MB / 363.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1223, allocations: 8.031 kB / 363.7 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.1224, allocations: 36.56 kB / 363.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.1228, allocations: 314.5 kB / 364 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.1229, allocations: 24.94 kB / 364 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.1229, allocations: 24.38 kB / 364 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007982/0.1237, allocations: 359.5 kB / 364.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1237, allocations: 0 / 364.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.1238, allocations: 12 kB / 364.4 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.1238, allocations: 8 kB / 364.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008484/0.1247, allocations: 306 kB / 364.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.127, allocations: 1.26 MB / 366 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.1279, allocations: 343.4 kB / 366.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.1283, allocations: 140.8 kB / 366.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1284, allocations: 0 / 366.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00064/0.129, allocations: 205.8 kB / 366.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.129, allocations: 0 / 366.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002193/0.1312, allocations: 0.6378 MB / 367.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.1313, allocations: 110.8 kB / 367.4 MB, free: 3.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.1317, allocations: 294.9 kB / 367.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.1318, allocations: 33.7 kB / 367.7 MB, free: 3.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.132, allocations: 216.2 kB / 367.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.1321, allocations: 55.2 kB / 368 MB, free: 3.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1322, allocations: 49.7 kB / 368 MB, free: 3.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1324, allocations: 334.8 kB / 368.4 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.1328, allocations: 124.2 kB / 368.5 MB, free: 2.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.1333, allocations: 221.3 kB / 368.7 MB, free: 2.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.1341, allocations: 333.6 kB / 369 MB, free: 1.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1341, allocations: 0 / 369 MB, free: 1.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001329/0.1354, allocations: 494.5 kB / 369.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.1355, allocations: 33.69 kB / 369.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1355, allocations: 4 kB / 369.5 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.1358, allocations: 68.88 kB / 369.6 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1361, allocations: 67.89 kB / 369.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1964/0.3325, allocations: 1.504 MB / 371.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.333, allocations: 63.23 kB / 371.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.333, allocations: 12.92 kB / 371.3 MB, free: 19.24 MB / 302.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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.3332, allocations: 156.6 kB / 371.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.3333, allocations: 25.2 kB / 371.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.3333, allocations: 31.34 kB / 371.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3333, allocations: 6.969 kB / 371.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3334, allocations: 1.75 kB / 371.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3334, allocations: 1.5 kB / 371.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.335, allocations: 0.7975 MB / 372.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.335, allocations: 3.938 kB / 372.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.3352, allocations: 47.19 kB / 372.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002389/0.3355, allocations: 60.7 kB / 372.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3355, allocations: 2.609 kB / 372.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.3373, allocations: 1.509 MB / 373.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3373, allocations: 4.984 kB / 373.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.3387, allocations: 0.5621 MB / 374.5 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.3388, allocations: 104.1 kB / 374.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.3389, allocations: 8.328 kB / 374.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.3391, allocations: 37.31 kB / 374.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.3392, allocations: 25.3 kB / 374.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3393, allocations: 5.094 kB / 374.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.3395, allocations: 211.9 kB / 374.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3395, allocations: 0 / 374.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.3399, allocations: 87.52 kB / 374.9 MB, free: 17.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.34, allocations: 110.9 kB / 375 MB, free: 17.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009671/0.341, allocations: 432.8 kB / 375.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.341, allocations: 3.75 kB / 375.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.3414, allocations: 236.5 kB / 375.7 MB, free: 16.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3419, allocations: 59.31 kB / 375.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.3444, allocations: 0.9552 MB / 376.7 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3447, allocations: 0.7685 MB / 377.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.3448, allocations: 33.52 kB / 377.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.3449, allocations: 26.09 kB / 377.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3449, allocations: 0 / 377.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Templates: time 0.009043/0.3539, allocations: 3.93 MB / 381.5 MB, free: 15.41 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches