Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001914/0.001914, allocations: 73.64 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.002521/0.002521, allocations: 160 kB / 24.5 MB, free: 3.715 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.45/1.45, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.44 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.102, allocations: 53.35 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004488/0.1065, allocations: 2.963 MB / 381.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1079, allocations: 0.7753 MB / 382.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.1081, allocations: 11.94 kB / 382.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.1082, allocations: 59.38 kB / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.1085, allocations: 115 kB / 382.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1088, allocations: 131.8 kB / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.1093, allocations: 454.1 kB / 383.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.1095, allocations: 116.4 kB / 383.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1098, allocations: 175.4 kB / 383.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.11, allocations: 151.2 kB / 383.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.1101, allocations: 44 kB / 383.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.746e-05/0.1102, allocations: 52 kB / 384 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.1103, allocations: 91.62 kB / 384.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1104, allocations: 163.2 kB / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006177/0.111, allocations: 0.502 MB / 384.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.111, allocations: 0 / 384.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.111, allocations: 0 / 384.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1111, allocations: 4 kB / 384.7 MB, free: 9.809 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001078/0.1121, allocations: 0.5947 MB / 385.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1122, allocations: 12.03 kB / 385.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.1124, allocations: 52.69 kB / 385.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.1128, allocations: 249.8 kB / 385.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.1128, allocations: 29.03 kB / 385.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.1128, allocations: 28.38 kB / 385.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.1136, allocations: 426.5 kB / 386.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1136, allocations: 8 kB / 386.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.1136, allocations: 12 kB / 386.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1136, allocations: 11.94 kB / 386.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.1142, allocations: 274.4 kB / 386.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.1161, allocations: 1.071 MB / 387.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.1167, allocations: 194.7 kB / 387.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.117, allocations: 100.7 kB / 387.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.117, allocations: 4 kB / 387.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.117, allocations: 38.56 kB / 387.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.117, allocations: 0 / 387.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00214/0.1192, allocations: 0.5564 MB / 388.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.1192, allocations: 55.41 kB / 388.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.1195, allocations: 269.8 kB / 388.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1195, allocations: 29.7 kB / 388.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.1197, allocations: 228.1 kB / 388.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.1197, allocations: 55.55 kB / 389 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.1198, allocations: 49.7 kB / 389 MB, free: 5.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.1201, allocations: 334.8 kB / 389.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1203, allocations: 79.95 kB / 389.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.1206, allocations: 166.2 kB / 389.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.1211, allocations: 242.1 kB / 389.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1211, allocations: 0 / 389.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001062/0.1222, allocations: 409 kB / 390.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1222, allocations: 8.062 kB / 390.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1222, allocations: 4 kB / 390.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/0.1226, allocations: 104.7 kB / 390.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1228, allocations: 39.92 kB / 390.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/0.126, allocations: 2.032 MB / 392.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.1262, allocations: 31.77 kB / 392.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1263, allocations: 16 kB / 392.5 MB, free: 1.656 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * 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: 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.1264, allocations: 149.7 kB / 392.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.1265, allocations: 19.86 kB / 392.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.1265, allocations: 29.77 kB / 392.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1265, allocations: 3.938 kB / 392.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.1265, allocations: 8 kB / 392.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1265, allocations: 7.938 kB / 392.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.1278, allocations: 0.6155 MB / 393.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1278, allocations: 0 / 393.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.606e-05/0.1279, allocations: 15.98 kB / 393.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/0.1282, allocations: 96.73 kB / 393.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1283, allocations: 11.98 kB / 393.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.1312, allocations: 2.013 MB / 395.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1312, allocations: 0 / 395.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008997/0.1321, allocations: 416.3 kB / 395.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.1321, allocations: 19.86 kB / 395.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1322, allocations: 4 kB / 395.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1324, allocations: 23.97 kB / 395.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.1324, allocations: 15.98 kB / 395.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1324, allocations: 0 / 395.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.1326, allocations: 197.2 kB / 396.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1326, allocations: 0 / 396.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.1331, allocations: 91.78 kB / 396.2 MB, free: 13.77 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 (8): * 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: 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001215/0.1332, allocations: 102.2 kB / 396.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007393/0.134, allocations: 330.4 kB / 396.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.134, allocations: 4 kB / 396.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.1344, allocations: 227.2 kB / 396.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1347, allocations: 40.42 kB / 396.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1358, allocations: 0.5587 MB / 397.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.136, allocations: 168.8 kB / 397.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.995e-05/0.1361, allocations: 22.3 kB / 397.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.1361, allocations: 20.44 kB / 397.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1361, allocations: 0 / 397.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.0076/0.1437, allocations: 3.188 MB / 400.8 MB, free: 9.086 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.428175321081653]