Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.001135/0.001135, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001082/0.001082, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 225.1 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 47.94 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1055, allocations: 46.62 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004899/0.1105, allocations: 2.843 MB / 331.6 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.112, allocations: 0.741 MB / 332.3 MB, free: 132 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1121, allocations: 8 kB / 332.3 MB, free: 124 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.1123, allocations: 43.52 kB / 332.4 MB, free: 80 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1126, allocations: 99.17 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1129, allocations: 103.8 kB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.1134, allocations: 394.3 kB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.1136, allocations: 88.94 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.1138, allocations: 155.3 kB / 333.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.1141, allocations: 159.3 kB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.1141, allocations: 32 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.1142, allocations: 32 kB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.1143, allocations: 71.7 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.1145, allocations: 163.2 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.1149, allocations: 350.8 kB / 334 MB, free: 14.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.1149, allocations: 7.984 kB / 334 MB, free: 14.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1149, allocations: 3.938 kB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1149, allocations: 0 / 334 MB, free: 14.45 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001325/0.1163, allocations: 0.6574 MB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1163, allocations: 12.03 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.007e-05/0.1164, allocations: 32.56 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.1168, allocations: 288.6 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1169, allocations: 16.94 kB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.1169, allocations: 24.38 kB / 335 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.1175, allocations: 269.1 kB / 335.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1176, allocations: 3.938 kB / 335.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1176, allocations: 8 kB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.1176, allocations: 8 kB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000748/0.1184, allocations: 270 kB / 335.5 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.1199, allocations: 0.9016 MB / 336.4 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.1207, allocations: 242.5 kB / 336.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.121, allocations: 116.7 kB / 336.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.121, allocations: 0 / 336.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004263/0.1215, allocations: 183 kB / 337 MB, free: 11.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.1215, allocations: 4 kB / 337 MB, free: 11.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001921/0.1234, allocations: 0.6205 MB / 337.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.1235, allocations: 102.8 kB / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.1238, allocations: 266.5 kB / 338 MB, free: 10.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1238, allocations: 37.7 kB / 338 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1239, allocations: 179.8 kB / 338.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.124, allocations: 51.28 kB / 338.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.124, allocations: 53.61 kB / 338.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1242, allocations: 330.8 kB / 338.6 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.1245, allocations: 113 kB / 338.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.1248, allocations: 156.1 kB / 338.9 MB, free: 9.246 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.1254, allocations: 263.5 kB / 339.1 MB, free: 8.961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1254, allocations: 4 kB / 339.1 MB, free: 8.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001012/0.1264, allocations: 431.6 kB / 339.5 MB, free: 8.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.1265, allocations: 33.7 kB / 339.6 MB, free: 8.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1265, allocations: 0 / 339.6 MB, free: 8.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/0.1269, allocations: 108.8 kB / 339.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.1272, allocations: 47.91 kB / 339.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.1292, allocations: 1.884 MB / 341.6 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.1295, allocations: 51.81 kB / 341.7 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.1296, allocations: 11.98 kB / 341.7 MB, free: 6.234 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003238/0.1299, allocations: 184.3 kB / 341.9 MB, free: 6.051 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002782/0.1302, allocations: 148.4 kB / 342 MB, free: 5.879 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004913/0.1307, allocations: 251.6 kB / 342.2 MB, free: 5.605 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.1307, allocations: 0 / 342.2 MB, free: 5.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007271/0.1314, allocations: 347.7 kB / 342.6 MB, free: 5.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.1315, allocations: 37.7 kB / 342.6 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1315, allocations: 0 / 342.6 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.1316, allocations: 48.83 kB / 342.7 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.1318, allocations: 43.91 kB / 342.7 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.1331, allocations: 1.721 MB / 344.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.1334, allocations: 43.88 kB / 344.5 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1334, allocations: 12 kB / 344.5 MB, free: 3.199 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.1336, allocations: 204.1 kB / 344.7 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.1336, allocations: 23.72 kB / 344.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.1337, allocations: 38.03 kB / 344.7 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1337, allocations: 8 kB / 344.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1337, allocations: 0 / 344.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1337, allocations: 0 / 344.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.134, allocations: 317.4 kB / 345.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.134, allocations: 4 kB / 345.1 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.1342, allocations: 27.97 kB / 345.1 MB, free: 2.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.1344, allocations: 68.8 kB / 345.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1344, allocations: 4 kB / 345.2 MB, free: 2.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.1361, allocations: 1.715 MB / 346.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1361, allocations: 0 / 346.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1372, allocations: 435.4 kB / 347.3 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.1373, allocations: 104.8 kB / 347.4 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.1373, allocations: 0 / 347.4 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1376, allocations: 36.2 kB / 347.4 MB, free: 0 / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.1377, allocations: 24.02 kB / 347.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1377, allocations: 15.94 kB / 347.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.1379, allocations: 186 kB / 347.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1379, allocations: 0 / 347.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005502/0.1385, allocations: 139.7 kB / 347.8 MB, free: 15.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.1386, allocations: 103.2 kB / 347.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.14, allocations: 0.7034 MB / 348.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.14, allocations: 0 / 348.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004498/0.1405, allocations: 242.5 kB / 348.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1408, allocations: 45.64 kB / 348.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1421, allocations: 0.5405 MB / 349.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1425, allocations: 0.7599 MB / 350.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.1426, allocations: 30.27 kB / 350.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.1427, allocations: 19.44 kB / 350.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1427, allocations: 0 / 350.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Templates: time 0.008495/0.1512, allocations: 4.498 MB / 354.7 MB, free: 8.578 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches