Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.0.0_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.001613/0.001613, allocations: 117.8 kB / 17.7 MB, free: 5.305 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.001892/0.001892, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 47.14 kB / 302.1 MB, free: 5.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1364, allocations: 49.44 MB / 351.5 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005092/0.1415, allocations: 3.065 MB / 354.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.143, allocations: 0.7715 MB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.1432, allocations: 4 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1434, allocations: 59.44 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.1436, allocations: 115 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.144, allocations: 127.8 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.1445, allocations: 462.2 kB / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.1448, allocations: 142.9 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.145, allocations: 175.3 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.1453, allocations: 195.2 kB / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.1454, allocations: 44 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-05/0.1454, allocations: 48 kB / 356.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1455, allocations: 87.69 kB / 356.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.1458, allocations: 195 kB / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.1463, allocations: 498.4 kB / 357.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1464, allocations: 0 / 357.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.1464, allocations: 0 / 357.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1464, allocations: 7.938 kB / 357.5 MB, free: 13.77 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.00147/0.1479, allocations: 0.7147 MB / 358.2 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1479, allocations: 11.89 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.148, allocations: 40.5 kB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.1485, allocations: 318.6 kB / 358.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.1485, allocations: 20.94 kB / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.1486, allocations: 28.36 kB / 358.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.1493, allocations: 355.6 kB / 358.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1494, allocations: 4 kB / 358.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.1494, allocations: 12 kB / 358.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.1494, allocations: 8 kB / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.1502, allocations: 306 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1523, allocations: 1.248 MB / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.1531, allocations: 339.5 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.1535, allocations: 141.6 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.1536, allocations: 4 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.154, allocations: 205.2 kB / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.086e-06/0.154, allocations: 3.984 kB / 361.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00208/0.1561, allocations: 0.6379 MB / 361.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/0.1562, allocations: 110.8 kB / 361.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1566, allocations: 294.9 kB / 362.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1566, allocations: 25.7 kB / 362.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1567, allocations: 212.2 kB / 362.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.1568, allocations: 63.11 kB / 362.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.1569, allocations: 53.7 kB / 362.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.157, allocations: 338.8 kB / 362.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.1574, allocations: 116.1 kB / 363 MB, free: 7.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.1578, allocations: 221.3 kB / 363.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007347/0.1586, allocations: 338.7 kB / 363.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1586, allocations: 4 kB / 363.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001211/0.1598, allocations: 483.6 kB / 364 MB, free: 6.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/0.1599, allocations: 41.69 kB / 364.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1599, allocations: 0 / 364.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.1603, allocations: 60.83 kB / 364.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.1606, allocations: 71.94 kB / 364.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.1628, allocations: 1.629 MB / 365.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.1632, allocations: 63.58 kB / 365.9 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.1632, allocations: 12 kB / 365.9 MB, free: 4.75 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.0001861/0.1634, allocations: 160.7 kB / 366.1 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.1635, allocations: 31.56 kB / 366.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.1636, allocations: 26.2 kB / 366.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1636, allocations: 4 kB / 366.1 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1636, allocations: 0 / 366.1 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1636, allocations: 7.984 kB / 366.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.1652, allocations: 0.7964 MB / 366.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1652, allocations: 0 / 366.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.1654, allocations: 43.97 kB / 367 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/0.1656, allocations: 64.84 kB / 367 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1656, allocations: 0 / 367 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.1676, allocations: 1.632 MB / 368.7 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1676, allocations: 0 / 368.7 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.1689, allocations: 0.563 MB / 369.2 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.373e-05/0.169, allocations: 104.8 kB / 369.3 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.1691, allocations: 8.062 kB / 369.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1694, allocations: 31.97 kB / 369.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.1694, allocations: 23.97 kB / 369.4 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1695, allocations: 4 kB / 369.4 MB, free: 1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1697, allocations: 210 kB / 369.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1697, allocations: 0 / 369.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.17, allocations: 87.77 kB / 369.7 MB, free: 0.7109 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.000156/0.1702, allocations: 107.2 kB / 369.8 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009552/0.1712, allocations: 457.8 kB / 370.2 MB, free: 132 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1712, allocations: 0 / 370.2 MB, free: 132 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2052/0.3764, allocations: 229.5 kB / 370.5 MB, free: 25.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.3772, allocations: 60.44 kB / 370.5 MB, free: 25.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.3804, allocations: 0.8332 MB / 371.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3808, allocations: 0.7678 MB / 372.1 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.381, allocations: 33.58 kB / 372.2 MB, free: 24.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.381, allocations: 27.59 kB / 372.2 MB, free: 24.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3811, allocations: 0 / 372.2 MB, free: 24.84 MB / 302.1 MB Notification: Performance of Templates: time 0.0118/0.3929, allocations: 4.275 MB / 376.5 MB, free: 24.66 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches