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.001422/0.001422, allocations: 92.33 kB / 16.3 MB, free: 6.461 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.001619/0.001619, allocations: 183 kB / 17.2 MB, free: 6.34 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.37/1.37, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 6.875 kB / 300.7 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 50.43 MB / 351.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003337/0.1227, allocations: 2.499 MB / 353.6 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1241, allocations: 0.7603 MB / 354.4 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1243, allocations: 7.938 kB / 354.4 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.143e-05/0.1244, allocations: 31.75 kB / 354.4 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1246, allocations: 123.6 kB / 354.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1249, allocations: 83.83 kB / 354.6 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.1253, allocations: 295.2 kB / 354.9 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.1255, allocations: 98.33 kB / 355 MB, free: 7.828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1257, allocations: 135.5 kB / 355.2 MB, free: 7.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.126, allocations: 163.3 kB / 355.3 MB, free: 7.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.126, allocations: 16 kB / 355.3 MB, free: 7.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.1261, allocations: 20 kB / 355.4 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.1261, allocations: 55.8 kB / 355.4 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.1262, allocations: 93.52 kB / 355.5 MB, free: 7.348 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.1266, allocations: 378.9 kB / 355.9 MB, free: 6.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1266, allocations: 0 / 355.9 MB, free: 6.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1266, allocations: 0 / 355.9 MB, free: 6.977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1266, allocations: 0 / 355.9 MB, free: 6.977 MB / 286.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.001281/0.1279, allocations: 0.6758 MB / 356.6 MB, free: 6.246 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1279, allocations: 8.031 kB / 356.6 MB, free: 6.238 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.128, allocations: 39.56 kB / 356.6 MB, free: 6.199 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.1285, allocations: 293.5 kB / 356.9 MB, free: 5.875 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.1285, allocations: 24.56 kB / 356.9 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.1286, allocations: 28 kB / 356.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007898/0.1294, allocations: 363.5 kB / 357.3 MB, free: 5.461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1294, allocations: 4 kB / 357.3 MB, free: 5.457 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.1294, allocations: 11.95 kB / 357.3 MB, free: 5.445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.1294, allocations: 11.98 kB / 357.3 MB, free: 5.434 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/0.1303, allocations: 330 kB / 357.6 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.1325, allocations: 1.321 MB / 359 MB, free: 3.699 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.1332, allocations: 254.4 kB / 359.2 MB, free: 3.441 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.539e-05/0.1333, allocations: 4 kB / 359.2 MB, free: 3.438 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005807/0.1339, allocations: 201.8 kB / 359.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 3.026e-06/0.1339, allocations: 0 / 359.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002471/0.1364, allocations: 0.7626 MB / 360.2 MB, free: 2.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.1365, allocations: 106.8 kB / 360.3 MB, free: 2.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.1368, allocations: 298.9 kB / 360.6 MB, free: 2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.1369, allocations: 33.7 kB / 360.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.137, allocations: 207.5 kB / 360.8 MB, free: 1.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.1371, allocations: 47.3 kB / 360.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.1371, allocations: 4 kB / 360.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1372, allocations: 338.8 kB / 361.2 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.1376, allocations: 127.9 kB / 361.3 MB, free: 1.238 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.138, allocations: 219.9 kB / 361.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.1384, allocations: 165.6 kB / 361.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1384, allocations: 4 kB / 361.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00121/0.1396, allocations: 0.522 MB / 362.2 MB, free: 280 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.1397, allocations: 33.7 kB / 362.2 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1397, allocations: 4 kB / 362.3 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.1401, allocations: 100.8 kB / 362.3 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.1403, allocations: 55.91 kB / 362.4 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.1429, allocations: 1.87 MB / 364.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.1432, allocations: 63.67 kB / 364.3 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.1433, allocations: 8 kB / 364.3 MB, free: 13.99 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.1435, allocations: 157.8 kB / 364.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.1435, allocations: 27.7 kB / 364.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.1436, allocations: 21.88 kB / 364.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1436, allocations: 4 kB / 364.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1436, allocations: 3.984 kB / 364.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1436, allocations: 0 / 364.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.1439, allocations: 349.3 kB / 364.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1439, allocations: 3.984 kB / 364.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.1441, allocations: 35.97 kB / 364.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.1444, allocations: 80.81 kB / 365 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1444, allocations: 11.98 kB / 365 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.1467, allocations: 1.746 MB / 366.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1467, allocations: 0 / 366.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.1482, allocations: 0.543 MB / 367.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.1482, allocations: 104.7 kB / 367.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.1483, allocations: 11.95 kB / 367.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.1485, allocations: 36.03 kB / 367.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.1487, allocations: 31.84 kB / 367.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1487, allocations: 7.984 kB / 367.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.1489, allocations: 206 kB / 367.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1489, allocations: 4 kB / 367.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004283/0.1493, allocations: 83.78 kB / 367.8 MB, free: 10.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/0.1495, allocations: 107.2 kB / 367.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1506, allocations: 477.8 kB / 368.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1506, allocations: 4 kB / 368.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.151, allocations: 263.1 kB / 368.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1514, allocations: 40.86 kB / 368.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1526, allocations: 0.6978 MB / 369.4 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.153, allocations: 0.7838 MB / 370.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1531, allocations: 26.97 kB / 370.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.1532, allocations: 23.42 kB / 370.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1532, allocations: 0 / 370.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of Templates: time 0.007553/0.1607, allocations: 3.908 MB / 374.1 MB, free: 3.941 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches