Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.001587/0.001586, allocations: 106.4 kB / 16.92 MB, free: 5.789 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.001524/0.001524, allocations: 191.5 kB / 17.85 MB, free: 5.16 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.493/1.493, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 45.7 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1247, allocations: 49.45 MB / 350.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00623/0.131, allocations: 3.059 MB / 353.1 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1328, allocations: 0.7753 MB / 353.9 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.133, allocations: 4 kB / 353.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1332, allocations: 55.5 kB / 354 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.1336, allocations: 111 kB / 354.1 MB, free: 392 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.134, allocations: 123.8 kB / 354.2 MB, free: 268 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.1345, allocations: 470.1 kB / 354.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.1348, allocations: 130.9 kB / 354.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.1351, allocations: 183.3 kB / 355 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1353, allocations: 187.2 kB / 355.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.1354, allocations: 44 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.1355, allocations: 44 kB / 355.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.1356, allocations: 87.62 kB / 355.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.1358, allocations: 199.1 kB / 355.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.1363, allocations: 490.6 kB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.1363, allocations: 3.984 kB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1363, allocations: 3.938 kB / 356 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1364, allocations: 0 / 356 MB, free: 14.45 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.001589/0.138, allocations: 0.707 MB / 356.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.138, allocations: 15.89 kB / 356.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.864e-05/0.1381, allocations: 32.56 kB / 356.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1385, allocations: 310.6 kB / 357.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1385, allocations: 24.88 kB / 357.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1386, allocations: 28.38 kB / 357.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.1394, allocations: 351.6 kB / 357.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1394, allocations: 0 / 357.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1395, allocations: 15.94 kB / 357.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1395, allocations: 8 kB / 357.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008181/0.1403, allocations: 302 kB / 357.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.1426, allocations: 1.282 MB / 359.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.1433, allocations: 234.4 kB / 359.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.1437, allocations: 113 kB / 359.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1437, allocations: 0 / 359.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000548/0.1443, allocations: 201.8 kB / 359.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.1443, allocations: 0 / 359.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002575/0.1468, allocations: 0.6851 MB / 360.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.1469, allocations: 102.8 kB / 360.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.1473, allocations: 295 kB / 360.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1473, allocations: 25.7 kB / 360.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1475, allocations: 219.4 kB / 360.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1475, allocations: 51.3 kB / 360.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.1476, allocations: 49.7 kB / 361 MB, free: 9.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1478, allocations: 342.8 kB / 361.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.1482, allocations: 115.8 kB / 361.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.1486, allocations: 205 kB / 361.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.1493, allocations: 323.7 kB / 362 MB, free: 8.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1494, allocations: 8 kB / 362 MB, free: 8.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001463/0.1508, allocations: 482.4 kB / 362.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.1509, allocations: 49.69 kB / 362.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1509, allocations: 0 / 362.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005241/0.1514, allocations: 84.78 kB / 362.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.1517, allocations: 55.91 kB / 362.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.1547, allocations: 1.99 MB / 364.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.1551, allocations: 67.7 kB / 364.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.1551, allocations: 12 kB / 364.7 MB, free: 5.191 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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.1553, allocations: 146 kB / 364.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1554, allocations: 27.66 kB / 364.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.1554, allocations: 29.86 kB / 364.9 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1554, allocations: 7.875 kB / 364.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1554, allocations: 4 kB / 364.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1555, allocations: 3.984 kB / 364.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.1558, allocations: 341.3 kB / 365.2 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1558, allocations: 4 kB / 365.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.156, allocations: 27.97 kB / 365.3 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.1563, allocations: 84.8 kB / 365.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1563, allocations: 4 kB / 365.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/0.1587, allocations: 1.816 MB / 367.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1587, allocations: 0 / 367.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.1601, allocations: 0.4887 MB / 367.7 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.511e-05/0.1602, allocations: 108.8 kB / 367.8 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.1603, allocations: 3.938 kB / 367.8 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.1605, allocations: 36.03 kB / 367.8 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.1606, allocations: 19.97 kB / 367.8 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1606, allocations: 4 kB / 367.8 MB, free: 1.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.1608, allocations: 210 kB / 368 MB, free: 1.605 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1609, allocations: 0 / 368 MB, free: 1.605 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.1613, allocations: 87.75 kB / 368.1 MB, free: 1.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/0.1614, allocations: 123.1 kB / 368.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.1625, allocations: 445.9 kB / 368.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1625, allocations: 0 / 368.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004868/0.163, allocations: 250.4 kB / 368.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1634, allocations: 49.31 kB / 369 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1646, allocations: 0.5841 MB / 369.6 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2099/0.3745, allocations: 0.7701 MB / 370.3 MB, free: 24.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003341/0.3749, allocations: 27.03 kB / 370.4 MB, free: 24.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.375, allocations: 20.72 kB / 370.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.375, allocations: 1.812 kB / 370.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of Templates: time 0.01439/0.3894, allocations: 4.411 MB / 374.8 MB, free: 24.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches