Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 123.4 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 192.3 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 51.92 kB / 366.8 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.1008, allocations: 52.14 MB / 419 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004956/0.1058, allocations: 3.375 MB / 422.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1072, allocations: 0.8105 MB / 423.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1073, allocations: 8 kB / 423.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1075, allocations: 71.3 kB / 423.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1077, allocations: 123 kB / 423.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.108, allocations: 135.8 kB / 423.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.1086, allocations: 0.498 MB / 424 MB, free: 7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.1088, allocations: 121 kB / 424.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.1091, allocations: 195.3 kB / 424.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.1094, allocations: 195.2 kB / 424.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.591e-05/0.1095, allocations: 55.98 kB / 424.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.1096, allocations: 48 kB / 424.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.76e-05/0.1097, allocations: 95.62 kB / 424.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.1099, allocations: 222.9 kB / 424.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.1105, allocations: 0.5604 MB / 425.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1105, allocations: 4 kB / 425.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1105, allocations: 0 / 425.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.1106, allocations: 7.938 kB / 425.5 MB, free: 5.504 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.001291/0.1118, allocations: 0.7015 MB / 426.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1119, allocations: 12.03 kB / 426.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.112, allocations: 44.66 kB / 426.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.1125, allocations: 320.8 kB / 426.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.1125, allocations: 25.38 kB / 426.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.1126, allocations: 40.12 kB / 426.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/0.1133, allocations: 390.1 kB / 427 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1133, allocations: 0 / 427 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.1134, allocations: 16 kB / 427 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.1134, allocations: 11.98 kB / 427 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.114, allocations: 303.9 kB / 427.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.1164, allocations: 1.44 MB / 428.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.117, allocations: 218.8 kB / 429 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.1173, allocations: 84.81 kB / 429.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1173, allocations: 4 kB / 429.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1174, allocations: 42.5 kB / 429.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1174, allocations: 3.938 kB / 429.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002342/0.1197, allocations: 0.7511 MB / 429.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.1198, allocations: 55.41 kB / 429.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.1202, allocations: 315.2 kB / 430.2 MB, free: 492 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1202, allocations: 29.7 kB / 430.2 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1204, allocations: 228.2 kB / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.1204, allocations: 67.45 kB / 430.5 MB, free: 152 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.1205, allocations: 61.66 kB / 430.6 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.1208, allocations: 330.8 kB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.121, allocations: 87.95 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.1213, allocations: 157.3 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.1218, allocations: 251.3 kB / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1218, allocations: 0 / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001041/0.1229, allocations: 421.2 kB / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1229, allocations: 12 kB / 431.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1229, allocations: 0 / 431.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004775/0.1234, allocations: 117.6 kB / 431.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.1235, allocations: 47.91 kB / 432 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/0.1281, allocations: 3.564 MB / 435.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.1284, allocations: 39.77 kB / 435.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.1284, allocations: 8 kB / 435.6 MB, free: 10.71 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.0002283/0.1286, allocations: 157.8 kB / 435.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.1287, allocations: 35.75 kB / 435.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.1288, allocations: 34.23 kB / 435.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1288, allocations: 4 kB / 435.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1288, allocations: 128 / 435.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1288, allocations: 8.078 kB / 435.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.1293, allocations: 361.4 kB / 436.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1293, allocations: 3.984 kB / 436.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.1294, allocations: 19.98 kB / 436.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/0.1298, allocations: 113.5 kB / 436.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1298, allocations: 8 kB / 436.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/0.1341, allocations: 3.463 MB / 439.8 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1341, allocations: 3.938 kB / 439.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.1351, allocations: 439.2 kB / 440.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1352, allocations: 108.9 kB / 440.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.1352, allocations: 4 kB / 440.3 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.1355, allocations: 31.97 kB / 440.4 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.1356, allocations: 11.92 kB / 440.4 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1356, allocations: 8 kB / 440.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.1359, allocations: 221.9 kB / 440.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1359, allocations: 0 / 440.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005371/0.1364, allocations: 99.84 kB / 440.7 MB, free: 5.227 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.0001826/0.1366, allocations: 103.7 kB / 440.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.1378, allocations: 0.5088 MB / 441.3 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1378, allocations: 0 / 441.3 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.1383, allocations: 329.8 kB / 441.6 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.1387, allocations: 52.5 kB / 441.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.14, allocations: 0.6057 MB / 442.3 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.1405, allocations: 0.7795 MB / 443.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.1406, allocations: 19.44 kB / 443.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1406, allocations: 0 / 443.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of Templates: time 0.1875/0.3281, allocations: 6.751 MB / 449.8 MB, free: 29.44 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.3397447960451245]