Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 69.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 162.2 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 51.42 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09981, allocations: 53.34 MB / 378.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004532/0.1043, allocations: 3.126 MB / 382.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1058, allocations: 0.8183 MB / 382.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1059, allocations: 4 kB / 382.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.1061, allocations: 75.23 kB / 383 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1063, allocations: 127 kB / 383.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1067, allocations: 151.8 kB / 383.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.1072, allocations: 0.4941 MB / 383.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.1074, allocations: 125.3 kB / 383.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.1077, allocations: 191.4 kB / 384 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.108, allocations: 175.1 kB / 384.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.108, allocations: 52 kB / 384.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1081, allocations: 52 kB / 384.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.1082, allocations: 103.6 kB / 384.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1084, allocations: 179.2 kB / 384.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.109, allocations: 0.572 MB / 385.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.109, allocations: 4 kB / 385.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.109, allocations: 0 / 385.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.109, allocations: 0 / 385.2 MB, free: 9.352 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.00115/0.1102, allocations: 0.6378 MB / 385.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1102, allocations: 8.031 kB / 385.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.1104, allocations: 52.66 kB / 385.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.1108, allocations: 278.7 kB / 386.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.1109, allocations: 29.38 kB / 386.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.1109, allocations: 32.12 kB / 386.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00076/0.1117, allocations: 493 kB / 386.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1117, allocations: 0 / 386.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.1117, allocations: 20 kB / 386.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1118, allocations: 8 kB / 386.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.1124, allocations: 303.8 kB / 387 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.1145, allocations: 1.226 MB / 388.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.1151, allocations: 226.7 kB / 388.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.1154, allocations: 89.09 kB / 388.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1154, allocations: 7.938 kB / 388.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1154, allocations: 30.56 kB / 388.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.1154, allocations: 0 / 388.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002206/0.1176, allocations: 0.6002 MB / 389.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1177, allocations: 51.41 kB / 389.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.118, allocations: 285.8 kB / 389.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.118, allocations: 29.7 kB / 389.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1182, allocations: 240 kB / 389.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.1182, allocations: 59.52 kB / 389.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.1183, allocations: 53.66 kB / 389.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1185, allocations: 338.8 kB / 390.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1187, allocations: 83.89 kB / 390.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.119, allocations: 169.3 kB / 390.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.1194, allocations: 249.2 kB / 390.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.1194, allocations: 4 kB / 390.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001013/0.1204, allocations: 418.2 kB / 391.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1205, allocations: 8.062 kB / 391.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1205, allocations: 4 kB / 391.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004432/0.1209, allocations: 113.6 kB / 391.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1211, allocations: 39.98 kB / 391.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/0.1253, allocations: 3.312 MB / 394.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.1255, allocations: 35.78 kB / 394.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1255, allocations: 15.98 kB / 394.6 MB, free: 15.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.1256, allocations: 149.8 kB / 394.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.1257, allocations: 23.86 kB / 394.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.1257, allocations: 26.11 kB / 394.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1258, allocations: 4 kB / 394.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1258, allocations: 3.938 kB / 394.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1258, allocations: 3.938 kB / 394.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.1261, allocations: 253.1 kB / 395.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1261, allocations: 4 kB / 395.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.1262, allocations: 15.98 kB / 395.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003517/0.1265, allocations: 105.6 kB / 395.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1265, allocations: 0 / 395.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/0.1301, allocations: 3.199 MB / 398.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.1302, allocations: 7.922 kB / 398.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.1311, allocations: 423.8 kB / 398.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.1311, allocations: 31.73 kB / 398.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.1311, allocations: 8 kB / 398.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.1314, allocations: 20.12 kB / 398.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.1314, allocations: 23.89 kB / 398.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1314, allocations: 7.938 kB / 398.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.1316, allocations: 205.2 kB / 399.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1316, allocations: 0 / 399.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005314/0.1322, allocations: 103.8 kB / 399.2 MB, free: 10.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001231/0.1323, allocations: 98.44 kB / 399.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.1334, allocations: 0.5166 MB / 399.8 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1335, allocations: 0 / 399.8 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.1339, allocations: 337.2 kB / 400.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1343, allocations: 47.92 kB / 400.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1354, allocations: 0.5597 MB / 400.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.1356, allocations: 172.8 kB / 400.9 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.568e-05/0.1357, allocations: 26.28 kB / 401 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1357, allocations: 16.5 kB / 401 MB, free: 8.613 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1357, allocations: 0 / 401 MB, free: 8.613 MB / 366.1 MB Notification: Performance of Templates: time 0.00828/0.144, allocations: 3.597 MB / 404.6 MB, free: 5.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.394589792005718]