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.001084/0.001084, allocations: 92.53 kB / 16.3 MB, free: 5.625 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.001266/0.001266, allocations: 182.8 kB / 17.2 MB, free: 5.559 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.451/1.451, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002492, allocations: 7.031 kB / 300.7 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 50.43 MB / 351.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003666/0.1176, allocations: 2.499 MB / 353.6 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1193, allocations: 0.7643 MB / 354.4 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.1195, allocations: 4 kB / 354.4 MB, free: 8.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.385e-05/0.1196, allocations: 39.67 kB / 354.5 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1199, allocations: 119.6 kB / 354.6 MB, free: 8.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.1202, allocations: 79.84 kB / 354.7 MB, free: 8.211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.1206, allocations: 287.4 kB / 354.9 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.1209, allocations: 110.6 kB / 355 MB, free: 7.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.1213, allocations: 143.5 kB / 355.2 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.1215, allocations: 155.3 kB / 355.3 MB, free: 7.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.1215, allocations: 20 kB / 355.4 MB, free: 7.504 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.684e-05/0.1216, allocations: 20 kB / 355.4 MB, free: 7.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.1216, allocations: 55.75 kB / 355.4 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.1217, allocations: 85.52 kB / 355.5 MB, free: 7.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.1222, allocations: 382.9 kB / 355.9 MB, free: 6.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1222, allocations: 0 / 355.9 MB, free: 6.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1222, allocations: 0 / 355.9 MB, free: 6.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1222, allocations: 4 kB / 355.9 MB, free: 6.961 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.001252/0.1235, allocations: 0.6757 MB / 356.6 MB, free: 6.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1235, allocations: 8.031 kB / 356.6 MB, free: 6.223 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.1236, allocations: 39.62 kB / 356.6 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.124, allocations: 305.4 kB / 356.9 MB, free: 5.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.124, allocations: 20.56 kB / 356.9 MB, free: 5.828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.1241, allocations: 28 kB / 357 MB, free: 5.801 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.1249, allocations: 363.6 kB / 357.3 MB, free: 5.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1249, allocations: 0 / 357.3 MB, free: 5.438 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.1249, allocations: 15.95 kB / 357.3 MB, free: 5.422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.125, allocations: 8 kB / 357.3 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009085/0.1259, allocations: 330 kB / 357.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.1283, allocations: 1.311 MB / 359 MB, free: 3.695 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008054/0.1291, allocations: 367.5 kB / 359.3 MB, free: 3.309 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1291, allocations: 0 / 359.3 MB, free: 3.309 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/0.1296, allocations: 213.7 kB / 359.5 MB, free: 3.078 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.1297, allocations: 4 kB / 359.5 MB, free: 3.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.002251/0.1319, allocations: 0.7083 MB / 360.2 MB, free: 2.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.132, allocations: 106.8 kB / 360.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.1323, allocations: 299.2 kB / 360.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.1324, allocations: 29.7 kB / 360.7 MB, free: 1.879 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1325, allocations: 207.9 kB / 360.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.1326, allocations: 59.2 kB / 360.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.1326, allocations: 4 kB / 360.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.1328, allocations: 338.8 kB / 361.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.1332, allocations: 136.2 kB / 361.4 MB, free: 1.129 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.1336, allocations: 220.7 kB / 361.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.134, allocations: 176 kB / 361.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.134, allocations: 4 kB / 361.8 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001223/0.1353, allocations: 0.5152 MB / 362.3 MB, free: 168 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.1353, allocations: 37.69 kB / 362.3 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1353, allocations: 4 kB / 362.3 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.1357, allocations: 68.89 kB / 362.4 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.136, allocations: 75.88 kB / 362.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.1388, allocations: 1.775 MB / 364.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.1392, allocations: 75.73 kB / 364.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.1392, allocations: 8 kB / 364.3 MB, free: 13.98 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 (31): * Single equations (assignments): 29 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.1394, allocations: 149.8 kB / 364.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.1395, allocations: 35.72 kB / 364.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.1395, allocations: 26.2 kB / 364.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1395, allocations: 7.953 kB / 364.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1395, allocations: 96 / 364.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1396, allocations: 11.92 kB / 364.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.1413, allocations: 0.8277 MB / 365.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1413, allocations: 0 / 365.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.1416, allocations: 55.98 kB / 365.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.1418, allocations: 68.81 kB / 365.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.1418, allocations: 4 kB / 365.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.1439, allocations: 1.562 MB / 367.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.144, allocations: 0 / 367.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.1454, allocations: 0.6389 MB / 367.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1456, allocations: 104.8 kB / 367.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.1456, allocations: 12.05 kB / 367.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.1459, allocations: 39.97 kB / 367.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.146, allocations: 19.97 kB / 367.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.146, allocations: 4 kB / 367.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.1463, allocations: 221.9 kB / 368.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1463, allocations: 3.938 kB / 368.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004527/0.1467, allocations: 75.84 kB / 368.2 MB, free: 9.875 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 (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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/0.1469, allocations: 110 kB / 368.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.1482, allocations: 0.5369 MB / 368.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1483, allocations: 0 / 368.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.1488, allocations: 255.1 kB / 369.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1491, allocations: 48.86 kB / 369.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.1521, allocations: 1.065 MB / 370.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1524, allocations: 0.7758 MB / 371 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.1526, allocations: 26.97 kB / 371 MB, free: 6.965 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.1527, allocations: 23.44 kB / 371 MB, free: 6.941 MB / 302.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1527, allocations: 0 / 371 MB, free: 6.941 MB / 302.1 MB Notification: Performance of Templates: time 0.007236/0.1599, allocations: 3.664 MB / 374.7 MB, free: 3.32 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches